make sure we treat the isfinal option as a boolean when fetching it
It will make sure that we only pass --isfinal to lorax when it is passed in on the CLI Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
parent
f5eaa7326f
commit
ca17987de9
@ -1400,7 +1400,7 @@ class Pungi(PungiBase):
|
||||
if self.config.get('pungi', 'variant'):
|
||||
cmd.extend(["--variant", self.config.get('pungi', 'variant')])
|
||||
cmd.extend(["--bugurl", self.config.get('pungi', 'bugurl')])
|
||||
if self.config.get('pungi', 'isfinal'):
|
||||
if self.config.getboolean('pungi', 'isfinal'):
|
||||
cmd.append("--isfinal")
|
||||
cmd.extend(["--volid", self._shortenVolID()])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user