summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/passwordwindow.py
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-09-16 16:40:52 -0700
committerelijah <elijah@riseup.net>2014-09-19 14:23:14 -0700
commitc29b1dd9345e01e761b9891728ecd0b8d964a02d (patch)
tree79bda358ee3afe316cc0e0181b4efd9fa583f0b8 /src/leap/bitmask/gui/passwordwindow.py
parent6166ffedcae0763f3c00076c79e74847f5c80823 (diff)
single pref win: gets the autopep8 beauty scrub.
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):
"""