diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-08-06 23:13:07 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-08-06 23:13:07 +0000 |
commit | c6d790ba5ecc71ddf8880c5f3397f013a495b75b (patch) | |
tree | ca7a3c52ede66477410ad23339d95876443ad561 /textw | |
parent | d81e7826371b3d9be532fbe5252645f742180d9b (diff) | |
download | anaconda-c6d790ba5ecc71ddf8880c5f3397f013a495b75b.tar.gz anaconda-c6d790ba5ecc71ddf8880c5f3397f013a495b75b.tar.xz anaconda-c6d790ba5ecc71ddf8880c5f3397f013a495b75b.zip |
strings here...
Diffstat (limited to 'textw')
-rw-r--r-- | textw/partition_text.py | 3 |
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: |