From 540b28e44fbcbccaf645753819de95e6f03a91a1 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Thu, 7 Nov 2019 08:18:00 -0500 Subject: [PATCH] Add missing import to docs upload script. --- etc/taskcluster/decision_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/taskcluster/decision_task.py b/etc/taskcluster/decision_task.py index 2e5e752067d..a2b48777783 100644 --- a/etc/taskcluster/decision_task.py +++ b/etc/taskcluster/decision_task.py @@ -271,7 +271,7 @@ def upload_docs(): .with_features("taskclusterProxy") .with_scopes("secrets:get:project/servo/doc.servo.org") .with_env(PY="""if 1: - import urllib, json + 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(urllib.urlopen(url))["secret"]["token"]