Commit 9253d892 by Lorin Hochstein

git module: Don't pass rc as separate arg to fail_json

parent b3b12b5e
...@@ -42,7 +42,7 @@ def exit_json(rc=0, **kwargs): ...@@ -42,7 +42,7 @@ def exit_json(rc=0, **kwargs):
def fail_json(**kwargs): def fail_json(**kwargs):
kwargs['failed'] = True kwargs['failed'] = True
exit_json(rc=1, **kwargs) exit_json(**kwargs)
# =========================================== # ===========================================
# convert arguments of form a=b c=d # convert arguments of form a=b c=d
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment