summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-10-30 12:31:14 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-10-30 13:00:24 -0300
commit1198f8484f0a6c89a610cd9aabcf30d2f43c832e (patch)
tree8ebc9ac1a842d005832c4073994ccd2e1c31eda7
parent85aae3723d754dcc7a3d60edab666591ecbddd5b (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.
-rw-r--r--src/leap/bitmask/services/soledad/soledadbootstrapper.py5
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