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

This commit is contained in:
Lorin Hochstein 2012-07-27 08:40:05 -04:00
parent b3b12b5e41
commit 9253d89280

View file

@ -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