summaryrefslogtreecommitdiffstats
path: root/iw/account_gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-06-23 03:30:30 +0000
committerMatt Wilson <msw@redhat.com>2001-06-23 03:30:30 +0000
commited685db997ae4acbee26faf0eaf86909f3f5b7bb (patch)
tree855ca103ff7e6c555aa8483c1ef868c3d330aabc /iw/account_gui.py
parent790f3a0f53ca7b1aa5ac3f8c9ea770f6494cdd49 (diff)
downloadanaconda-ed685db997ae4acbee26faf0eaf86909f3f5b7bb.tar.gz
anaconda-ed685db997ae4acbee26faf0eaf86909f3f5b7bb.tar.xz
anaconda-ed685db997ae4acbee26faf0eaf86909f3f5b7bb.zip
more pychecker cleanups
Diffstat (limited to 'iw/account_gui.py')
-rw-r--r--iw/account_gui.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py
index 88a3726b0..20ea4bf4f 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -51,7 +51,6 @@ class AccountWindow (InstallWindow):
if (password1 and password1 == password2 and
self.userAccountMatch.search(accountName) and
len(accountName) <= 8 and len(password1) > 5) and accountName != "root":
- valid = 1
self.userPwLabel.set_text(_("User password accepted."))
else:
if not accountName:
@@ -65,8 +64,6 @@ class AccountWindow (InstallWindow):
else:
self.userPwLabel.set_text (_("User passwords do not match."))
- valid = 0
-
def userSelected(self, *args):
index = self.userList.selection
if (not index): return
@@ -112,7 +109,6 @@ class AccountWindow (InstallWindow):
accountName = self.accountName.get_text()
password1 = self.userPass1.get_text()
- password2 = self.userPass2.get_text()
fullName = self.fullName.get_text()
index = index[0] #Get first item in the list