summaryrefslogtreecommitdiff
path: root/client/src/leap
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-08-04 17:56:35 -0400
committerKali Kaneko <kali@leap.se>2015-08-04 17:56:35 -0400
commit0b1e55d3142d7012cd7fef39b6ed77be69d5ee11 (patch)
tree83a96143cfbdc1eb549c2b5ee6fca40e9685230a /client/src/leap
parentc1b99f965f248c20e19eac44b3da239a9e6828ac (diff)
[style] pep8 cleanup
Diffstat (limited to 'client/src/leap')
-rw-r--r--client/src/leap/soledad/client/api.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/api.py b/client/src/leap/soledad/client/api.py
index 57df4021..101c235e 100644
--- a/client/src/leap/soledad/client/api.py
+++ b/client/src/leap/soledad/client/api.py
@@ -213,7 +213,8 @@ class Soledad(object):
soledad_assert_type(self._passphrase, unicode)
def initialize(attr, val):
- return (getattr(self, attr, None) is None and setattr(self, attr, val))
+ return (getattr(self, attr, None) is None
+ and setattr(self, attr, val))
initialize("_secrets_path", os.path.join(
self.default_prefix, self.secrets_file_name))