summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrii Nugged <nugged@gmail.com>2023-06-11 15:38:45 +0300
committerSlava Shishkin <slavashishkin@gmail.com>2023-06-13 14:00:09 +0300
commitc64b4843861a23bd8c55d0bb5edfcfd9a6b762be (patch)
tree42e86eb3f600e23e7a28b57054cb49ca8f85d668
parentbb22ca20404989a2e3b0df5777f1a802ce03f70d (diff)
downloadgit-bz-c64b4843861a23bd8c55d0bb5edfcfd9a6b762be.tar.gz
Syntax errors found by pylance
-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