Merge "Fixes a job_configs update by wrong value when deleting proxy-user"

This commit is contained in:
Jenkins 2015-01-07 15:17:09 +00:00 committed by Gerrit Code Review
commit cc47d1f237

View File

@ -90,8 +90,8 @@ def delete_proxy_user_for_job_execution(job_execution):
proxy_trust_id)
t.delete_trust(proxy_user, proxy_trust_id)
proxy_user_delete(proxy_username)
update = {'job_configs': job_execution.job_configs.to_dict()}
del update['job_configs']['proxy_configs']
update = job_execution.job_configs.to_dict()
del update['proxy_configs']
return update
return None