diff options
author | Andrii Nugged <nugged@gmail.com> | 2023-06-11 15:38:45 +0300 |
---|---|---|
committer | Slava Shishkin <slavashishkin@gmail.com> | 2023-06-13 14:00:09 +0300 |
commit | c64b4843861a23bd8c55d0bb5edfcfd9a6b762be (patch) | |
tree | 42e86eb3f600e23e7a28b57054cb49ca8f85d668 | |
parent | bb22ca20404989a2e3b0df5777f1a802ce03f70d (diff) | |
download | git-bz-c64b4843861a23bd8c55d0bb5edfcfd9a6b762be.tar.gz |
Syntax errors found by pylance
-rwxr-xr-x | git-bz | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |