summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/passwordwindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/gui/passwordwindow.py')
-rw-r--r--src/leap/bitmask/gui/passwordwindow.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/leap/bitmask/gui/passwordwindow.py b/src/leap/bitmask/gui/passwordwindow.py
index 9946febe..5354ab86 100644
--- a/src/leap/bitmask/gui/passwordwindow.py
+++ b/src/leap/bitmask/gui/passwordwindow.py
@@ -28,6 +28,7 @@ from leap.bitmask.gui.flashable import Flashable
import logging
logger = logging.getLogger(__name__)
+
class PasswordWindow(QtGui.QDialog, Flashable):
def __init__(self, parent, account, app):
@@ -55,7 +56,7 @@ class PasswordWindow(QtGui.QDialog, Flashable):
self.ui.cancel_button.clicked.connect(self._close)
self.ui.username_lineedit.setText(account.address)
- self._disabled = False # if set to True, never again enable widgets.
+ self._disabled = False # if set to True, never again enable widgets.
if account.username is None:
# should not ever happen, but just in case
@@ -153,7 +154,6 @@ class PasswordWindow(QtGui.QDialog, Flashable):
self._soledad_ready = False
sig.soledad_bootstrap_finished.connect(self._on_soledad_ready)
-
@QtCore.Slot()
def _change_password(self):
"""
@@ -174,7 +174,7 @@ class PasswordWindow(QtGui.QDialog, Flashable):
return
ok, msg, field = password_checks(self.account.username, new_password,
- new_password2)
+ new_password2)
if not ok:
self.flash_error(msg)
if field == 'new_password':
@@ -258,7 +258,6 @@ class PasswordWindow(QtGui.QDialog, Flashable):
self._enable_password_widgets(True)
self.flash_error(msg)
-
@QtCore.Slot()
def _on_soledad_ready(self):
"""