summaryrefslogtreecommitdiff
path: root/client/src/leap/soledad
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-07-26 21:11:05 -0400
committerKali Kaneko <kali@leap.se>2015-07-26 21:11:05 -0400
commit3546eff73297945c1519e925c994e28d6ad523f4 (patch)
tree301adf19ac695a6de28fd0627f81c9fb52bd951a /client/src/leap/soledad
parent4ccbc5ad4dac2ba1292504d2d4019d42621e5458 (diff)
[bug] fix syntax error
resulting from the previous pep8 cleanup
Diffstat (limited to 'client/src/leap/soledad')
-rw-r--r--client/src/leap/soledad/client/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/leap/soledad/client/api.py b/client/src/leap/soledad/client/api.py
index 219be969..c437645f 100644
--- a/client/src/leap/soledad/client/api.py
+++ b/client/src/leap/soledad/client/api.py
@@ -213,8 +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))