summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-bz6
1 files changed, 4 insertions, 2 deletions
diff --git a/git-bz b/git-bz
index 263fec1..a3a42a4 100755
--- a/git-bz
+++ b/git-bz
@@ -1785,7 +1785,8 @@ def run_push(*args, **kwargs):
if global_options.force:
options['force'] = True
try:
- out, err = git.push(*args, _return_stderr=True, **options)
+ options['_return_stderr']=True
+ out, err = git.push(*args, **options)
except CalledProcessError:
return
if not dry:
@@ -1827,7 +1828,8 @@ def do_push(*args):
# We need to add the URLs to the commits before we push
# We need to push in order to find out what commits we are pushing
# So, we push --dry first
- commits = run_push(*args, dry=True)
+ options = { 'dry' : True }
+ commits = run_push(*args, **options)
if edit_bug(bug, fix_commits=commits):
run_push(*args)
else: