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:
Dennis Gilmore 2015-05-20 15:14:39 -05:00
parent f5eaa7326f
commit ca17987de9
1 changed files with 1 additions and 1 deletions

View File

@ -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()])