From 971d83645dd1224398887a3933dc060e2d08755f Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Sat, 15 Aug 2015 15:54:34 -0700 Subject: Fix gate source building Fix a backtrace. Also add the default master locations for the various tarballs. Change-Id: I9675c2619b95c0ae6a467ffbf964c4b17ae4b791 Paritally-Implements: blueprint gate-source-builds --- tools/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/build.py b/tools/build.py index ac42cac2b..89cffc061 100755 --- a/tools/build.py +++ b/tools/build.py @@ -69,7 +69,7 @@ class WorkerThread(Thread): self.queue.task_done() def process_source(self, source, dest_dir): - if source['type'] == 'url': + if source.get('type') == 'url': r = requests.get(source['source']) if r.status_code == 200: -- cgit v1.2.3