changeset 43506 | 9f70512ae2cf |
parent 43503 | 313e3a279828 |
child 43787 | be8552f25cab |
--- a/hgdemandimport/demandimportpy2.py Sun Nov 10 07:30:14 2019 -0800 +++ b/hgdemandimport/demandimportpy2.py Fri Nov 08 11:19:20 2019 -0800 @@ -135,8 +135,8 @@ if locals: if locals.get(head) is self: locals[head] = mod - elif locals.get(head + r'mod') is self: - locals[head + r'mod'] = mod + elif locals.get(head + 'mod') is self: + locals[head + 'mod'] = mod for modname in modrefs: modref = sys.modules.get(modname, None)