summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
diff options
context:
space:
mode:
Diffstat (limited to 'partedUtils.py')
-rw-r--r--partedUtils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/partedUtils.py b/partedUtils.py
index 1399d84d9..413bc5bf1 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -438,7 +438,7 @@ def getRedHatReleaseString(mountpoint):
ver = ""
for a in relstr[idx + 8:]:
- if a in string.digits() + ".":
+ if a in string.digits + ".":
ver = ver + a
else:
break