Prevent errors from happening by accidently inserting a line between two extraargs.append() calls with options that belong together

This commit is contained in:
Jeroen van Meeuwen (Fedora Unity) 2009-01-30 02:33:13 +01:00 committed by Jesse Keating
parent 972240b972
commit c4004dd307

View File

@ -1039,8 +1039,7 @@ cost=500
extraargs.append('%s %s %s' % (self.config.get('pungi', 'name'),
self.config.get('pungi', 'version'), self.config.get('pungi', 'arch')))
extraargs.append('-o')
extraargs.append(isofile)
extraargs.extend(['-o', isofile])
if not self.config.get('pungi', 'arch') == 'source':
extraargs.append(self.topdir)