diff --git a/etc/taskcluster/decision_task.py b/etc/taskcluster/decision_task.py index 67ea48de4fc..10ad08cbeac 100644 --- a/etc/taskcluster/decision_task.py +++ b/etc/taskcluster/decision_task.py @@ -238,7 +238,7 @@ def upload_docs(): .with_features("taskclusterProxy") .with_scopes("secrets:get:project/servo/doc.servo.org") .with_env(PY="""if 1: - import urllib, json, os + import urllib.request, json, os root_url = os.environ["TASKCLUSTER_PROXY_URL"] url = root_url + "/api/secrets/v1/secret/project/servo/doc.servo.org" token = json.load(urllib.request.urlopen(url))["secret"]["token"]