summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-02-20 20:21:22 +0000
committerJeremy Katz <katzj@redhat.com>2003-02-20 20:21:22 +0000
commit26d09b816221ae867b1951015835ba9747d5bba9 (patch)
tree9edb70b48f03891a20401443b69db2bca52792ca
parent20ee8b3b12fbe01b13ef4fc3e2cbe7a154e755aa (diff)
downloadanaconda-26d09b816221ae867b1951015835ba9747d5bba9.tar.gz
anaconda-26d09b816221ae867b1951015835ba9747d5bba9.tar.xz
anaconda-26d09b816221ae867b1951015835ba9747d5bba9.zip
nalin sez spaces are fine (#84705)
-rw-r--r--iw/account_gui.py2
-rw-r--r--textw/userauth_text.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py
index 5c6e7ae15..31fbe0880 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -29,7 +29,7 @@ class AccountWindow (InstallWindow):
if not self.__dict__.has_key("pw"): return None
pw = self.pw.get_text()
- allowed = string.digits + string.ascii_letters + string.punctuation
+ allowed = string.digits + string.ascii_letters + string.punctuation + " "
for letter in pw:
if letter not in allowed:
self.intf.messageWindow(_("Error with Password"),
diff --git a/textw/userauth_text.py b/textw/userauth_text.py
index 466f336f6..5a7a2e776 100644
--- a/textw/userauth_text.py
+++ b/textw/userauth_text.py
@@ -18,7 +18,7 @@ import iutil
from flags import flags
def has_bad_chars(pw):
- allowed = string.digits + string.ascii_letters + string.punctuation
+ allowed = string.digits + string.ascii_letters + string.punctuation + " "
for letter in pw:
if letter not in allowed:
return 1