diff options
author | Kali Kaneko <kali@leap.se> | 2016-04-07 11:09:05 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-04-07 11:09:05 -0400 |
commit | 42e4458f3f37d50725a37a7e22835ab677cc24aa (patch) | |
tree | 3b4b69a948d7ca23f4031abcffea0d08dfc21b49 /src/leap/bitmask/util | |
parent | dadfb03b90d099d50c7c225da297952cdfb7b9aa (diff) |
[style] pep8
Diffstat (limited to 'src/leap/bitmask/util')
-rw-r--r-- | src/leap/bitmask/util/keyring_helpers.py | 5 | ||||
-rw-r--r-- | src/leap/bitmask/util/pastebin.py | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/leap/bitmask/util/keyring_helpers.py b/src/leap/bitmask/util/keyring_helpers.py index d81f39b1..c5181348 100644 --- a/src/leap/bitmask/util/keyring_helpers.py +++ b/src/leap/bitmask/util/keyring_helpers.py @@ -24,8 +24,9 @@ try: EncryptedKeyring, PlaintextKeyring ] - canuse = lambda kr: (kr is not None - and kr.__class__ not in OBSOLETE_KEYRINGS) + canuse = lambda kr: ( + kr is not None and + kr.__class__ not in OBSOLETE_KEYRINGS) except Exception: # Problems when importing keyring! It might be a problem binding to the diff --git a/src/leap/bitmask/util/pastebin.py b/src/leap/bitmask/util/pastebin.py index 6d50ac9e..b476ad88 100644 --- a/src/leap/bitmask/util/pastebin.py +++ b/src/leap/bitmask/util/pastebin.py @@ -25,13 +25,13 @@ #############################################################################
+import urllib
+
__ALL__ = ['delete_paste', 'user_details', 'trending', 'pastes_by_user',
'generate_user_key', 'paste', 'Pastebin', 'PastebinError',
'PostLimitError']
-import urllib
-
class PastebinError(RuntimeError):
"""Pastebin API error.
|