summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgit-bz4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-bz b/git-bz
index 8f56df7..ca73576 100755
--- a/git-bz
+++ b/git-bz
@@ -1060,7 +1060,7 @@ class BugServer(object):
self.cookiestring = res.getheader('set-cookie')
connection.close()
else:
- self.cookies = get_bugzilla_cookies(host)
+ self.cookies = get_bugzilla_cookies(self.host)
self.cookiestring = ("Bugzilla_login=%s; Bugzilla_logincookie=%s" %
(self.cookies['Bugzilla_login'], self.cookies['Bugzilla_logincookie']))
return self.cookiestring
@@ -2348,7 +2348,7 @@ def edit_bug(bug, applied_commits=None, fix_commits=None):
bug_changes = {}
if depends is not None:
- bug_change['dependson'] = depends
+ bug_changes['dependson'] = depends
if patch_complexity is not None:
bug_changes['cf_patch_complexity'] = patch_complexity