diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/pixelated/adapter/model/mail.py | 2 | ||||
-rw-r--r-- | service/test/unit/resources/__init__.py | 1 | ||||
-rw-r--r-- | service/test/unit/resources/test_keys_resources.py | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/service/pixelated/adapter/model/mail.py b/service/pixelated/adapter/model/mail.py index cf665c9e..b2b0986a 100644 --- a/service/pixelated/adapter/model/mail.py +++ b/service/pixelated/adapter/model/mail.py @@ -378,7 +378,7 @@ class PixelatedMail(Mail): @property def encrypted(self): return self.hdoc.content["headers"].get("OpenPGP", None) is not None or \ - self.hdoc.content["headers"].get("X-Pixelated-encryption-status", "false") == "true" + self.hdoc.content["headers"].get("X-Pixelated-encryption-status", "false") == "true" def as_dict(self): dict_mail = {'header': {k.lower(): v for k, v in self.headers.items()}, diff --git a/service/test/unit/resources/__init__.py b/service/test/unit/resources/__init__.py index b8214a8c..5abd502b 100644 --- a/service/test/unit/resources/__init__.py +++ b/service/test/unit/resources/__init__.py @@ -20,4 +20,3 @@ def resolve_result(request, result): class DummySite(Site): def get(self, request): return resolve_result(request, self.getResourceFor(request).render(request)) - diff --git a/service/test/unit/resources/test_keys_resources.py b/service/test/unit/resources/test_keys_resources.py index 7113889e..fb085cad 100644 --- a/service/test/unit/resources/test_keys_resources.py +++ b/service/test/unit/resources/test_keys_resources.py @@ -56,4 +56,3 @@ class TestKeysResource(unittest.TestCase): d.addCallback(assert_response) return d - |