summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2014-08-11 08:21:27 +0200
committerKoen Kooi <koen.kooi@linaro.org>2014-08-11 08:21:27 +0200
commitb76d3d4506be9a747b4d57aa312b2cdf4ba27773 (patch)
tree300a59f83631305932e1501c3c5b9eb3ec643648
parent1c8d18c857bac5048118259c158fb625618067b2 (diff)
downloaddaily-prebuilt-images-b76d3d4506be9a747b4d57aa312b2cdf4ba27773.tar.gz
build_images: add missing self.
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
-rwxr-xr-xbuild_images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_images.py b/build_images.py
index 0b541f4..57aa0ac 100755
--- a/build_images.py
+++ b/build_images.py
@@ -261,7 +261,7 @@ class SnapshotCrawler:
'''return a hash table of hwpack->urls (date, url)'''
hwpackf = {}
for hwpack in self.hwpacks:
- if platform_hwpack is "kernel_hwpacks":
+ if self.platform_hwpack is "kernel_hwpacks":
url = "%s/%s/%s" % (SNAPSHOTS_URL, self.platform_hwpack, hwpack)
else:
url = "%s/%s/hwpacks/%s" % (SNAPSHOTS_URL, self.platform_hwpack, hwpack)