lorax: Strip ' from product cmdline argument

Temporary work around pungi issue:
https://pagure.io/pungi/pull-request/1463
This commit is contained in:
Brian C. Lane 2020-10-29 09:00:16 -07:00
parent c14e6b627c
commit 4d14c4bed0

View File

@ -97,6 +97,9 @@ def main():
parser = lorax_parser(DRACUT_DEFAULT)
opts = parser.parse_args()
# XXX Temporary workaround for https://pagure.io/pungi/pull-request/1463
opts.product = opts.product.strip("'")
log.info("Lorax v%s", pylorax.vernum)
if not opts.source and not opts.repos: