summaryrefslogtreecommitdiffstats
path: root/partIntfHelpers.py
diff options
context:
space:
mode:
authorJoel Granados Moreno <jgranado@redhat.com>2009-04-16 17:33:00 +0200
committerJoel Granados Moreno <jgranado@redhat.com>2009-04-17 13:20:58 +0200
commit74763af9bb2ad7948ef95fba82061c974c92b722 (patch)
treebdecb74708ba999476be860fea69824ef111fd24 /partIntfHelpers.py
parent6f7425a421f51e8c6ccc314894490721a6f7747a (diff)
downloadanaconda-74763af9bb2ad7948ef95fba82061c974c92b722.tar.gz
anaconda-74763af9bb2ad7948ef95fba82061c974c92b722.tar.xz
anaconda-74763af9bb2ad7948ef95fba82061c974c92b722.zip
Allow the use of "-" in the lvm names. (495329)
Diffstat (limited to 'partIntfHelpers.py')
-rw-r--r--partIntfHelpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/partIntfHelpers.py b/partIntfHelpers.py
index ed9dfe5c0..bd1ddbbfd 100644
--- a/partIntfHelpers.py
+++ b/partIntfHelpers.py
@@ -48,7 +48,7 @@ def sanityCheckVolumeGroupName(volname):
return _("Error - the volume group name %s is not valid." % (volname,))
for i in range(0, len(volname)):
- rc = string.find(string.letters + string.digits + '.' + '_', volname[i])
+ rc = string.find(string.letters + string.digits + '.' + '_' + '-', volname[i])
if rc == -1:
return _("Error - the volume group name contains illegal "
"characters or spaces. Acceptable characters "