1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

- ServiceInfo.execute: cmd is a list...

See also pull request #141
This commit is contained in:
Marcus Huewe 2015-03-26 14:37:14 +01:00
parent 8d39549253
commit eda2e75655

View File

@ -406,11 +406,11 @@ class Serviceinfo:
cmd[0] = "/usr/lib/obs/service/"+cmd[0]
cmd = cmd + [ "--outdir", temp_dir ]
if conf.config['verbose'] > 1 or verbose:
print("Run source service:", cmd)
print("Run source service:", ' '.join(cmd))
r = run_external(*cmd)
if r != 0:
print("Aborting: service call failed: ", cmd)
print("Aborting: service call failed: ", ' '.join(cmd))
# FIXME: addDownloadUrlService calls si.execute after
# updating _services.
return r