summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Wagner & Victor Shyba <bwgpro+victor.shyba@gmail.com>2015-02-27 19:37:26 -0300
committerPixpoa pairing <pixpoapairing@pixelated-project.org>2015-02-27 19:37:26 -0300
commitb0084ec7184b2183d1ccabe1a0e017473e7a2892 (patch)
treef36a603e12d668c37f6e6901d70d8cc1efe80e5e
parentc35150d99dfcddc5a519c14299bacc50f0a14c77 (diff)
Fixed pep8
-rw-r--r--service/pixelated/support/ext_fetch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/support/ext_fetch.py b/service/pixelated/support/ext_fetch.py
index 3529a6e2..2db5dd1d 100644
--- a/service/pixelated/support/ext_fetch.py
+++ b/service/pixelated/support/ext_fetch.py
@@ -6,7 +6,7 @@ def mark_as_encrypted_inline(f):
def w(*args, **kwargs):
msg, valid_sign = f(*args)
is_encrypted = fetch.PGP_BEGIN in args[1].as_string() and fetch.PGP_END in args[1].as_string()
- decrypted_successfully = not fetch.PGP_BEGIN in msg.as_string() and not fetch.PGP_END in msg.as_string()
+ decrypted_successfully = fetch.PGP_BEGIN not in msg.as_string() and fetch.PGP_END not in msg.as_string()
if not is_encrypted:
encrypted = 'false'