Commit da45006f authored by Guido van Rossum's avatar Guido van Rossum

Fix a bug in Evan's change two revisions back (1.22): the assignment

in setLocal() was improperly indented.

Evan: please, Please, PLEASE, run the test suite before checking in
changes!
parent 76d15911
...@@ -122,7 +122,7 @@ class DummyEngine: ...@@ -122,7 +122,7 @@ class DummyEngine:
if self.locals is self.stack[-1]: if self.locals is self.stack[-1]:
# Unmerge this scope's locals from previous scope of first set # Unmerge this scope's locals from previous scope of first set
self.locals = self.locals.copy() self.locals = self.locals.copy()
self.locals[name] = value self.locals[name] = value
def setGlobal(self, name, value): def setGlobal(self, name, value):
self.globals[name] = value self.globals[name] = value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment