Merge "Fix passing params to execution"

This commit is contained in:
Jenkins 2014-09-19 18:19:48 +00:00 committed by Gerrit Code Review
commit bbcf02533d

View File

@ -56,10 +56,7 @@ class Execution(resource.Resource):
d['output'] = json.loads(d['output'])
if d.get('params'):
params = json.loads(d['params'])
del d['params']
for k, v in params.items():
d[k] = v
d['params'] = json.loads(d['params'])
return d