Commit 42e4f2ca authored by Daniel Silverstone's avatar Daniel Silverstone
Browse files

_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: default avatarDaniel Silverstone <daniel.silverstone@codethink.co.uk>
parent 814847eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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