diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2018-10-23 16:09:58 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2018-10-25 15:43:52 +0100 |
commit | 527f3b32ec2aa628c910b907de6c23945e4e272f (patch) | |
tree | 73c9cdc28f7c9beb6139c2e9d26fed5e1448f8b0 /buildstream | |
parent | b279c730ef38e599a79147a6bfeb80acc52c2f35 (diff) | |
download | buildstream-527f3b32ec2aa628c910b907de6c23945e4e272f.tar.gz |
_yamlcache.py: Correct braino in variable name
This braino would mean that we'd fail to raise the right exception
if we failed to find the right project object when unpickling the
yaml cache.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
Diffstat (limited to 'buildstream')
-rw-r--r-- | buildstream/_yamlcache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_yamlcache.py b/buildstream/_yamlcache.py index 9b5e3212f..fdd3c9ea2 100644 --- a/buildstream/_yamlcache.py +++ b/buildstream/_yamlcache.py @@ -329,7 +329,7 @@ class BstUnpickler(pickle.Unpickler): if not project: projects = [p.name for p in self._context.get_projects()] raise pickle.UnpicklingError("No project with name {} found in {}" - .format(key_id, projects)) + .format(project_tag, projects)) else: project = None name = tagged_name |