diff options
author | Joel Granados Moreno <jgranado@redhat.com> | 2009-04-16 17:33:00 +0200 |
---|---|---|
committer | Joel Granados Moreno <jgranado@redhat.com> | 2009-04-17 13:20:58 +0200 |
commit | 74763af9bb2ad7948ef95fba82061c974c92b722 (patch) | |
tree | bdecb74708ba999476be860fea69824ef111fd24 /partIntfHelpers.py | |
parent | 6f7425a421f51e8c6ccc314894490721a6f7747a (diff) | |
download | anaconda-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.py | 2 |
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 " |