From bc096f113f5c70fee90156a6276273f08a53e081 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Wed, 29 Jul 2015 14:35:52 -0300 Subject: [style] Fixed pep8 warning on api.py The bolean operator must come before a line break, not after according to pep8 --- client/src/leap/soledad/client/api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client/src/leap') 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)) -- cgit v1.2.3