summaryrefslogtreecommitdiff
path: root/client/src
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-08-17 19:33:55 -0400
committerKali Kaneko <kali@leap.se>2015-08-17 19:34:55 -0400
commite5e5a6a8e6ca209b0abf3a95521c9e6d5b329565 (patch)
tree307181045dad30a20302e51313a08fea70755fc6 /client/src
parent5d3f0626c78f812276d5c96dfcdf07738601f944 (diff)
[style] pep8 cleanup
Diffstat (limited to 'client/src')
-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 633c07d0..d86990e6 100644
--- a/client/src/leap/soledad/client/api.py
+++ b/client/src/leap/soledad/client/api.py
@@ -216,7 +216,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))