From 9c4bf36c45850d166ab0039418994aeaf17859af Mon Sep 17 00:00:00 2001 From: Greg Pfeil Date: Thu, 20 Oct 2022 10:48:02 -0600 Subject: [PATCH] updatecheck: fix GitHub auth The script was accessing nonexistent vars, so auth wasn't working. Mostly not noticable until you hit the API's unauthed request rate limit. --- qa/zcash/updatecheck.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/qa/zcash/updatecheck.py b/qa/zcash/updatecheck.py index 75d903aee..b6560ccc9 100755 --- a/qa/zcash/updatecheck.py +++ b/qa/zcash/updatecheck.py @@ -3,8 +3,7 @@ # This script checks for updates to zcashd's dependencies. # # The SOURCE_ROOT constant specifies the location of the zcashd codebase to -# check, and the GITHUB_API_* constants specify a personal access token for the -# GitHub API, which need not have any special privileges. +# check. # # All dependencies must be specified inside the get_dependency_list() function # below. A dependency is specified by: @@ -126,10 +125,10 @@ class GitHubToken: sys.exit(1) def user(self): - return self.user + return self._user def password(self): - return self.password + return self._password class Version(list): def __init__(self, version_tuple):