summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/util/keyring_helpers.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-04-07 11:09:05 -0400
committerKali Kaneko <kali@leap.se>2016-04-07 11:09:05 -0400
commit42e4458f3f37d50725a37a7e22835ab677cc24aa (patch)
tree3b4b69a948d7ca23f4031abcffea0d08dfc21b49 /src/leap/bitmask/util/keyring_helpers.py
parentdadfb03b90d099d50c7c225da297952cdfb7b9aa (diff)
[style] pep8
Diffstat (limited to 'src/leap/bitmask/util/keyring_helpers.py')
-rw-r--r--src/leap/bitmask/util/keyring_helpers.py5
1 files changed, 3 insertions, 2 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