Prevent errors from happening by accidently inserting a line between two extraargs.append() calls with options that belong together
This commit is contained in:
parent
972240b972
commit
c4004dd307
@ -1039,8 +1039,7 @@ cost=500
|
|||||||
extraargs.append('%s %s %s' % (self.config.get('pungi', 'name'),
|
extraargs.append('%s %s %s' % (self.config.get('pungi', 'name'),
|
||||||
self.config.get('pungi', 'version'), self.config.get('pungi', 'arch')))
|
self.config.get('pungi', 'version'), self.config.get('pungi', 'arch')))
|
||||||
|
|
||||||
extraargs.append('-o')
|
extraargs.extend(['-o', isofile])
|
||||||
extraargs.append(isofile)
|
|
||||||
|
|
||||||
if not self.config.get('pungi', 'arch') == 'source':
|
if not self.config.get('pungi', 'arch') == 'source':
|
||||||
extraargs.append(self.topdir)
|
extraargs.append(self.topdir)
|
||||||
|
Loading…
Reference in New Issue
Block a user