do not uses pipes.quotes in livemedia tasks

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
Dennis Gilmore 2016-02-17 14:39:51 -06:00
parent bf5196af4a
commit 2858b1aa54

View File

@ -139,14 +139,14 @@ class KojiWrapper(object):
for key in ('name', 'version', 'target', 'arch', 'ksfile'): for key in ('name', 'version', 'target', 'arch', 'ksfile'):
if key not in options: if key not in options:
raise ValueError('Expected options to have key "%s"' % key) raise ValueError('Expected options to have key "%s"' % key)
cmd.append(pipes.quote(options[key])) cmd.append(options[key])
if 'install_tree' not in options: if 'install_tree' not in options:
raise ValueError('Expected options to have key "install_tree"') raise ValueError('Expected options to have key "install_tree"')
cmd.append('--install-tree=%s' % pipes.quote(options['install_tree'])) cmd.append('--install-tree=%s' % options['install_tree'])
for repo in options.get('repo', []): for repo in options.get('repo', []):
cmd.append('--repo=%s' % pipes.quote(repo)) cmd.append('--repo=%s' % repo)
if options.get('scratch'): if options.get('scratch'):
cmd.append('--scratch') cmd.append('--scratch')
@ -155,7 +155,7 @@ class KojiWrapper(object):
cmd.append('--skip-tag') cmd.append('--skip-tag')
if 'ksurl' in options: if 'ksurl' in options:
cmd.append('--ksurl=%s' % pipes.quote(options['ksurl'])) cmd.append('--ksurl=%s' % options['ksurl'])
if wait: if wait:
cmd.append('--wait') cmd.append('--wait')