From b0084ec7184b2183d1ccabe1a0e017473e7a2892 Mon Sep 17 00:00:00 2001 From: Bruno Wagner & Victor Shyba Date: Fri, 27 Feb 2015 19:37:26 -0300 Subject: Fixed pep8 --- service/pixelated/support/ext_fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/pixelated/support') 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' -- cgit v1.2.3