summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-07-14 12:23:13 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-07-14 14:58:34 -0300
commitd6cee5b46587367b558863292f71f5baafadc762 (patch)
treefbf26f1c1ad7a73b606ab8c4b1440f12c959edd7
parentcd8f6757b51a8eedc3e29c22656ade1ae22110fe (diff)
pep8 fixes
-rw-r--r--src/leap/bitmask/app.py1
-rw-r--r--src/leap/bitmask/gui/mainwindow.py4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py
index e80b9dd1..88f6bc15 100644
--- a/src/leap/bitmask/app.py
+++ b/src/leap/bitmask/app.py
@@ -188,6 +188,5 @@ def start_app():
run_frontend(options, flags_dict)
-
if __name__ == "__main__":
start_app()
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index 27c7f717..3d489bd8 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -256,7 +256,7 @@ class MainWindow(QtGui.QMainWindow):
# XXX should connect to mail_conductor.start_mail_service instead
self.soledad_ready.connect(self._start_smtp_bootstrapping)
self.soledad_ready.connect(self._start_imap_service)
- ################################# end Qt Signals connection ########
+ # ################################ end Qt Signals connection ########
init_platform()
@@ -1295,7 +1295,7 @@ class MainWindow(QtGui.QMainWindow):
sig.soledad_bootstrap_failed.connect(lambda: btn_enabled(True))
sig.soledad_bootstrap_finished.connect(lambda: btn_enabled(True))
- if not MX_SERVICE in self._provider_details['services']:
+ if MX_SERVICE not in self._provider_details['services']:
self._set_mx_visible(False)
def _start_eip_bootstrap(self):