summaryrefslogtreecommitdiff
path: root/client/src
diff options
context:
space:
mode:
authorBruno Wagner <bwgpro@gmail.com>2015-08-05 15:24:33 -0300
committerBruno Wagner <bwgpro@gmail.com>2015-08-05 15:24:33 -0300
commit1f169e1ccb05e7994cf4c3c9f735feef85b30a7d (patch)
tree740563d8b70ee7f13803eed5a7bec242241204ad /client/src
parent3c314df6bbf3d7d98f3e2bd35b42f3b99ea53077 (diff)
[style] Fixed PEP8 warning
Line break before binary operator breaks PEP8, fixed that in the client api.py
Diffstat (limited to 'client/src')
-rw-r--r--client/src/leap/soledad/client/api.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/leap/soledad/client/api.py b/client/src/leap/soledad/client/api.py
index 303dde12..1be3adac 100644
--- a/client/src/leap/soledad/client/api.py
+++ b/client/src/leap/soledad/client/api.py
@@ -213,8 +213,7 @@ 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))