diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-10-30 12:31:14 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-10-30 13:00:24 -0300 |
commit | 1198f8484f0a6c89a610cd9aabcf30d2f43c832e (patch) | |
tree | 8ebc9ac1a842d005832c4073994ccd2e1c31eda7 /src/leap/bitmask/services | |
parent | 85aae3723d754dcc7a3d60edab666591ecbddd5b (diff) |
Fix pep8 indent issue. And better operator usage.
- E128: continuation line under-indented for visual indent.
- Don't use identity operator to compare boolean.
Diffstat (limited to 'src/leap/bitmask/services')
-rw-r--r-- | src/leap/bitmask/services/soledad/soledadbootstrapper.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/leap/bitmask/services/soledad/soledadbootstrapper.py b/src/leap/bitmask/services/soledad/soledadbootstrapper.py index d06cc910..79bec1eb 100644 --- a/src/leap/bitmask/services/soledad/soledadbootstrapper.py +++ b/src/leap/bitmask/services/soledad/soledadbootstrapper.py @@ -192,9 +192,8 @@ class SoledadBootstrapper(AbstractBootstrapper): # soledad-launcher in the gui. raise - leap_assert(sameProxiedObjects(self._soledad, None) - is not True, - "Null soledad, error while initializing") + leap_assert(not sameProxiedObjects(self._soledad, None), + "Null soledad, error while initializing") # and now, let's sync sync_tries = self.MAX_SYNC_RETRIES |