summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-19 15:38:09 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-19 15:38:09 +0900
commit849d66e0f0b093d6531cc352ef6edbefe42fbc9f (patch)
tree12434808b0454adc9468903609df92f806cc8ace
parentf5b99559ef7df91fe11f6b97be66c96b81911152 (diff)
downloadbuildstream-849d66e0f0b093d6531cc352ef6edbefe42fbc9f.tar.gz
buildstream/plugins/sources/_downloadablefilesource.py: Fixing unused variables
-rw-r--r--buildstream/plugins/sources/_downloadablefilesource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/plugins/sources/_downloadablefilesource.py b/buildstream/plugins/sources/_downloadablefilesource.py
index d9128ce3f..1f0cf1ef2 100644
--- a/buildstream/plugins/sources/_downloadablefilesource.py
+++ b/buildstream/plugins/sources/_downloadablefilesource.py
@@ -86,7 +86,7 @@ class DownloadableFileSource(Source):
# Download the file, raise hell if the sha256sums don't match,
# and mirror the file otherwise.
with self.timed_activity("Fetching {}".format(self.url), silent_nested=True):
- sha256, etag = self._ensure_mirror()
+ sha256, _ = self._ensure_mirror()
if sha256 != self.ref:
raise SourceError("File downloaded from {} has sha256sum '{}', not '{}'!"
.format(self.url, sha256, self.ref))