[FIX] reports were always printing the same page

bzr revid: qdp-launchpad@tinyerp.com-20100628144920-c0z71jadlee2n69i
This commit is contained in:
qdp-launchpad@tinyerp.com 2010-06-28 16:49:20 +02:00
parent 478ab1c86d
commit 9f74749726
1 changed files with 0 additions and 2 deletions

View File

@ -56,7 +56,6 @@ 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 = dict(self.localcontext)
for ctx in eval(n.get('rml_loop'),{}, self.localcontext):
self.localcontext.update(ctx)
@ -83,7 +82,6 @@ def _child_get(node, self=None, tagname=None):
yield n
else:
yield n
self.localcontext = oldctx
continue
if self and self.localcontext and n.get('rml_except'):
try: