lorax: allow '.' in image label

Otherwise "R3.2" will end up as "R3-2".
pull/2/head
Marek Marczykowski-Górecki 8 years ago
parent 8d5bab3f4c
commit 2ea4a511ff
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -11,7 +11,7 @@ from distutils.version import LooseVersion
## Don't allow spaces or escape characters in the iso label
def valid_label(ch):
return ch.isalnum() or ch == '_'
return ch.isalnum() or ch in ('_', '.')
isolabel = ''.join(ch if valid_label(ch) else '-' for ch in isolabel)
%>

Loading…
Cancel
Save