From ed685db997ae4acbee26faf0eaf86909f3f5b7bb Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Sat, 23 Jun 2001 03:30:30 +0000 Subject: more pychecker cleanups --- iw/account_gui.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'iw/account_gui.py') 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 -- cgit