diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-19 15:38:09 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-19 15:38:09 +0900 |
commit | 849d66e0f0b093d6531cc352ef6edbefe42fbc9f (patch) | |
tree | 12434808b0454adc9468903609df92f806cc8ace | |
parent | f5b99559ef7df91fe11f6b97be66c96b81911152 (diff) | |
download | buildstream-849d66e0f0b093d6531cc352ef6edbefe42fbc9f.tar.gz |
buildstream/plugins/sources/_downloadablefilesource.py: Fixing unused variables
-rw-r--r-- | buildstream/plugins/sources/_downloadablefilesource.py | 2 |
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)) |