[FIX] Use a copy of the local context
bzr revid: stephane@openerp.com-20100615121213-7i4foiqdssq0rgjf
This commit is contained in:
@@ -55,7 +55,7 @@ def xml2str(s):
|
||||
def _child_get(node, self=None, tagname=None):
|
||||
for n in node:
|
||||
if self and self.localcontext and n.get('rml_loop'):
|
||||
oldctx = self.localcontext
|
||||
oldctx = dict(self.localcontext)
|
||||
|
||||
for ctx in eval(n.get('rml_loop'),{}, self.localcontext):
|
||||
self.localcontext.update(ctx)
|
||||
|
||||
Reference in New Issue
Block a user