# HG changeset patch # User Paul Boddie # Date 1476967594 -7200 # Node ID 4057092c9f4ac228a039194da721deea0aa2f1ef # Parent a818b7ef8f7ba23d3dfd61d3b7ba9a689696eec1 Fixed importer function locals population from cached data. diff -r a818b7ef8f7b -r 4057092c9f4a modules.py --- a/modules.py Thu Oct 20 14:20:47 2016 +0200 +++ b/modules.py Thu Oct 20 14:46:34 2016 +0200 @@ -503,8 +503,9 @@ while line: function, name, value = self._get_fields(line, 3) init_item(self.function_locals, function, dict) + init_item(self.importer.function_locals, function, dict) if name != "{}": - self.importer.function_locals[function] = \ + self.importer.function_locals[function][name] = \ self.function_locals[function][name] = decode_reference(value) line = f.readline().rstrip()