summaryrefslogtreecommitdiffstats
path: root/pyanaconda/iw/account_gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyanaconda/iw/account_gui.py')
-rw-r--r--pyanaconda/iw/account_gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyanaconda/iw/account_gui.py b/pyanaconda/iw/account_gui.py
index f467300a9..67859e15d 100644
--- a/pyanaconda/iw/account_gui.py
+++ b/pyanaconda/iw/account_gui.py
@@ -122,7 +122,7 @@ class AccountWindow (InstallWindow):
try:
cracklib.FascistCheck(pw)
- except ValueError, e:
+ except ValueError as e:
msg = gettext.ldgettext("cracklib", e)
ret = self.intf.messageWindow(_("Weak Password"),
_("You have provided a weak password: %s") % msg,