fixes --force when compose fails during split-tree process.
This commit is contained in:
parent
9f6fe74826
commit
7dd898cbad
@ -986,8 +986,10 @@ class Pungi(pypungi.PungiBase):
|
|||||||
compsfile = os.path.join(self.workdir, '%s-%s-comps.xml' % (self.config.get('pungi', 'name'), self.config.get('pungi', 'version')))
|
compsfile = os.path.join(self.workdir, '%s-%s-comps.xml' % (self.config.get('pungi', 'name'), self.config.get('pungi', 'version')))
|
||||||
|
|
||||||
if not split:
|
if not split:
|
||||||
pypungi.util._ensuredir('%s-disc1' % self.topdir, self.logger,
|
pypungi.util._ensuredir('%s-disc1' % self.topdir, self.logger,
|
||||||
clean=True) # rename this for single disc
|
force=self.config.getboolean('pungi',
|
||||||
|
'force'),
|
||||||
|
clean=True) # rename this for single disc
|
||||||
path = self.topdir
|
path = self.topdir
|
||||||
basedir=None
|
basedir=None
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user