зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1507360: Fix python3.5 support in fetching hg fingerprints; r=gps
Differential Revision: https://phabricator.services.mozilla.com/D13810 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
84412f33c4
Коммит
13af5de7ea
|
@ -427,7 +427,7 @@ def vcs_checkout(source_repo, dest, store_path,
|
|||
res = urllib.request.urlopen(FINGERPRINT_URL, timeout=10)
|
||||
secret = res.read()
|
||||
try:
|
||||
secret = json.loads(secret, encoding='utf-8')
|
||||
secret = json.loads(secret.decode('utf-8'))
|
||||
except ValueError:
|
||||
print_line(b'vcs', b'invalid JSON in hg fingerprint secret')
|
||||
sys.exit(1)
|
||||
|
|
Загрузка…
Ссылка в новой задаче