diff options
author | Lisa Junger <ljunger@thoughtworks.com> | 2015-01-06 14:26:39 +0100 |
---|---|---|
committer | Lisa Junger <ljunger@thoughtworks.com> | 2015-01-06 14:26:39 +0100 |
commit | 2c19e7acbfb238e4fcd17725142c7ae9c43a3a77 (patch) | |
tree | 6532a01b3a2ca14c87614047cbcf9bb6ffffdc58 /service/pixelated/adapter | |
parent | 28c885bf47b9249f95aeb875f5f558911b2193c2 (diff) |
Issue #183 adds ALL to special tags.
Diffstat (limited to 'service/pixelated/adapter')
-rw-r--r-- | service/pixelated/adapter/model/tag.py | 2 | ||||
-rw-r--r-- | service/pixelated/adapter/services/tag_service.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/adapter/model/tag.py b/service/pixelated/adapter/model/tag.py index d75022f9..ca62a1fe 100644 --- a/service/pixelated/adapter/model/tag.py +++ b/service/pixelated/adapter/model/tag.py @@ -17,7 +17,7 @@ import json -class Tag: +class Tag(object): @classmethod def from_dict(cls, tag_dict): diff --git a/service/pixelated/adapter/services/tag_service.py b/service/pixelated/adapter/services/tag_service.py index c723b04c..22cfb051 100644 --- a/service/pixelated/adapter/services/tag_service.py +++ b/service/pixelated/adapter/services/tag_service.py @@ -19,7 +19,7 @@ from pixelated.adapter.model.tag import Tag class TagService: instance = None - SPECIAL_TAGS = {Tag('inbox', True), Tag('sent', True), Tag('drafts', True), Tag('trash', True)} + SPECIAL_TAGS = {Tag('inbox', True), Tag('sent', True), Tag('drafts', True), Tag('trash', True), Tag('ALL', True)} @classmethod def extract_reserved(cls, tags): |