Skip to content

Commit

Permalink
- ServiceInfo.execute: cmd is a list...
Browse files Browse the repository at this point in the history
See also pull request #141
  • Loading branch information
marcus-h committed Mar 26, 2015
1 parent 8d39549 commit eda2e75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osc/core.py
Expand Up @@ -406,11 +406,11 @@ def execute(self, dir, callmode = None, singleservice = None, verbose = None):
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
Expand Down

0 comments on commit eda2e75

Please sign in to comment.