summaryrefslogtreecommitdiffstats
path: root/textw/partition_text.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-08-06 23:13:07 +0000
committerJeremy Katz <katzj@redhat.com>2001-08-06 23:13:07 +0000
commitc6d790ba5ecc71ddf8880c5f3397f013a495b75b (patch)
treeca7a3c52ede66477410ad23339d95876443ad561 /textw/partition_text.py
parentd81e7826371b3d9be532fbe5252645f742180d9b (diff)
downloadanaconda-c6d790ba5ecc71ddf8880c5f3397f013a495b75b.tar.gz
anaconda-c6d790ba5ecc71ddf8880c5f3397f013a495b75b.tar.xz
anaconda-c6d790ba5ecc71ddf8880c5f3397f013a495b75b.zip
strings here...
Diffstat (limited to 'textw/partition_text.py')
-rw-r--r--textw/partition_text.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py
index f3e7a52f0..93dcc85e8 100644
--- a/textw/partition_text.py
+++ b/textw/partition_text.py
@@ -30,7 +30,8 @@ from log import log
# sanity checking for various numeric input boxes
def invalidInteger(str):
- ints = range(0,10)
+ import string
+ ints = string.digits
if str == "":
return _("Must specify a value")
for n in str: