Merge pull request #704 from lorin/gitfix

git module: Don't pass rc as separate arg to fail_json
This commit is contained in:
Michael DeHaan 2012-07-27 05:49:22 -07:00
commit d6d59d8976

2
git
View file

@ -42,7 +42,7 @@ def exit_json(rc=0, **kwargs):
def fail_json(**kwargs):
kwargs['failed'] = True
exit_json(rc=1, **kwargs)
exit_json(**kwargs)
# ===========================================
# convert arguments of form a=b c=d