aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-11-07 19:41:26 -0500
committerGitHub <noreply@github.com>2019-11-07 19:41:26 -0500
commitfc7b88019538de63fdd4d24ed720ad7198602fd8 (patch)
treee4d47325740ec74068c1b1f3ebe569d9da35d376
parent1089f8f242b6687bee3284fb76e1cdba0664d0a4 (diff)
parent540b28e44fbcbccaf645753819de95e6f03a91a1 (diff)
downloadservo-fc7b88019538de63fdd4d24ed720ad7198602fd8.tar.gz
servo-fc7b88019538de63fdd4d24ed720ad7198602fd8.zip
Auto merge of #24681 - servo:jdm-patch-36, r=SimonSapin
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"]