summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Wagner <bwgpro@gmail.com>2015-07-29 14:35:52 -0300
committerBruno Wagner <bwgpro@gmail.com>2015-07-29 14:35:52 -0300
commitbc096f113f5c70fee90156a6276273f08a53e081 (patch)
treec1c300b085cef4cf3041bf7246fb51873fa0d3aa
parent52c2f7258416fcd54e9aeb50656830b55d653630 (diff)
[style] Fixed pep8 warning on api.py
The bolean operator must come before a line break, not after according to pep8
-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 def2841a..a3dfb1d4 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))