summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/pixelated/adapter/mail_service.py2
-rw-r--r--service/pixelated/adapter/pixelated_mailbox.py1
-rw-r--r--service/pixelated/adapter/status.py1
-rw-r--r--service/pixelated/adapter/tag.py2
4 files changed, 4 insertions, 2 deletions
diff --git a/service/pixelated/adapter/mail_service.py b/service/pixelated/adapter/mail_service.py
index edb6936b..1f4279e7 100644
--- a/service/pixelated/adapter/mail_service.py
+++ b/service/pixelated/adapter/mail_service.py
@@ -77,7 +77,7 @@ class MailService:
return self.mailbox.mail(mail_id)
def all_tags(self):
- return self.mailbox.all_tags();
+ return self.mailbox.all_tags()
def thread(self, thread_id):
raise NotImplementedError()
diff --git a/service/pixelated/adapter/pixelated_mailbox.py b/service/pixelated/adapter/pixelated_mailbox.py
index 52ca4655..501d179d 100644
--- a/service/pixelated/adapter/pixelated_mailbox.py
+++ b/service/pixelated/adapter/pixelated_mailbox.py
@@ -18,6 +18,7 @@
from pixelated.adapter.pixelated_mail import PixelatedMail
from pixelated.adapter.tag import Tag
+
class PixelatedMailbox:
SPECIAL_TAGS = ['inbox', 'sent', 'drafts', 'trash']
diff --git a/service/pixelated/adapter/status.py b/service/pixelated/adapter/status.py
index 2002b649..128ccb68 100644
--- a/service/pixelated/adapter/status.py
+++ b/service/pixelated/adapter/status.py
@@ -14,6 +14,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
+
class Status:
LEAP_FLAGS_STATUSES = {
diff --git a/service/pixelated/adapter/tag.py b/service/pixelated/adapter/tag.py
index daef30fa..8d1d209d 100644
--- a/service/pixelated/adapter/tag.py
+++ b/service/pixelated/adapter/tag.py
@@ -31,7 +31,7 @@ class Tag:
@classmethod
def from_flag(cls, flag):
if flag in cls.LEAP_FLAGS_TAGS.keys():
- return Tag(cls.LEAP_FLAGS_TAGS[flag])
+ return Tag(cls.LEAP_FLAGS_TAGS[flag])
if flag.startswith('tag_'):
return Tag(cls._remove_prefix(flag))
return None