summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <daniel.silverstone@codethink.co.uk>2018-10-23 16:46:22 +0100
committerDaniel Silverstone <daniel.silverstone@codethink.co.uk>2018-10-25 15:43:52 +0100
commite9c6db1e2c524ca651d923467e53416c12f145aa (patch)
treedde8c77bb5093af0abac08e945fefcf5cf17bcfe
parent1bf0a0313cb2129fec35745133964fcb2a8c2699 (diff)
downloadbuildstream-e9c6db1e2c524ca651d923467e53416c12f145aa.tar.gz
source.py: Remove unused variable
Remove the `context` variable which was unused. Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-rw-r--r--buildstream/source.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/buildstream/source.py b/buildstream/source.py
index 5cb30a0c7..483fd2341 100644
--- a/buildstream/source.py
+++ b/buildstream/source.py
@@ -1038,8 +1038,6 @@ class Source(Plugin):
if not mirrors or not alias:
return self.track(**kwargs)
- context = self._get_context()
-
# NOTE: We are assuming here that tracking only requires substituting the
# first alias used
for uri in reversed(project.get_alias_uris(alias, first_pass=self.__first_pass)):