aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2019-11-07 08:18:00 -0500
committerSimon Sapin <simon.sapin@exyr.org>2019-11-07 19:55:00 +0100
commit540b28e44fbcbccaf645753819de95e6f03a91a1 (patch)
treee4d47325740ec74068c1b1f3ebe569d9da35d376
parentcb693b32289adce6532a5453b96c751de8ac7673 (diff)
downloadservo-540b28e44fbcbccaf645753819de95e6f03a91a1.tar.gz
servo-540b28e44fbcbccaf645753819de95e6f03a91a1.zip
Add missing import to docs upload script.
-rw-r--r--etc/taskcluster/decision_task.py2
1 files changed, 1 insertions, 1 deletions
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"]