fix up typo
This commit is contained in:
parent
add538d7b4
commit
d865c94330
@ -1347,7 +1347,7 @@ class Pungi(pypungi.PungiBase):
|
|||||||
def _shortenVolID(self):
|
def _shortenVolID(self):
|
||||||
"""shorten the volume id to make sure its under 32 characters"""
|
"""shorten the volume id to make sure its under 32 characters"""
|
||||||
|
|
||||||
subsitutions = {'Workstation': 'WS',
|
substitutions = {'Workstation': 'WS',
|
||||||
'Server': 'S',
|
'Server': 'S',
|
||||||
'Cloud': 'C',
|
'Cloud': 'C',
|
||||||
'Alpha': 'A',
|
'Alpha': 'A',
|
||||||
@ -1357,7 +1357,7 @@ class Pungi(pypungi.PungiBase):
|
|||||||
version = self.config.get('pungi', 'version')
|
version = self.config.get('pungi', 'version')
|
||||||
arch = self.tree_arch
|
arch = self.tree_arch
|
||||||
|
|
||||||
for k, v in subsitutions.iteritems():
|
for k, v in substitutions.iteritems():
|
||||||
if k in name:
|
if k in name:
|
||||||
name = name.replace(k, v)
|
name = name.replace(k, v)
|
||||||
if k in version:
|
if k in version:
|
||||||
|
Loading…
Reference in New Issue
Block a user