diff options
author | Josh Matthews <josh@joshmatthews.net> | 2021-02-24 23:03:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-24 23:03:27 -0500 |
commit | 04b89d1b53a9dce23fd9adab686f880906bcbdc3 (patch) | |
tree | 9230ba6bb327ae6b23110dd39ba1b6614e2d83c9 /etc/taskcluster/decision_task.py | |
parent | 9a6ae55fd34e529844e5703d47f36f7f7623496a (diff) | |
download | servo-04b89d1b53a9dce23fd9adab686f880906bcbdc3.tar.gz servo-04b89d1b53a9dce23fd9adab686f880906bcbdc3.zip |
Fix doc build under py3.
Diffstat (limited to 'etc/taskcluster/decision_task.py')
-rw-r--r-- | etc/taskcluster/decision_task.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/taskcluster/decision_task.py b/etc/taskcluster/decision_task.py index a05824cb178..51a725976e8 100644 --- a/etc/taskcluster/decision_task.py +++ b/etc/taskcluster/decision_task.py @@ -241,7 +241,7 @@ def upload_docs(): import urllib, json, os root_url = os.environ["TASKCLUSTER_PROXY_URL"] url = root_url + "/api/secrets/v1/secret/project/servo/doc.servo.org" - token = json.load(urlopen(url))["secret"]["token"] + token = json.load(urllib.request.urlopen(url))["secret"]["token"] open("/root/.git-credentials", "w").write("https://git:%s@github.com/" % token) """) .with_script(""" |