[FIX] reports were always printing the same page
bzr revid: qdp-launchpad@tinyerp.com-20100628144920-c0z71jadlee2n69i
This commit is contained in:
parent
478ab1c86d
commit
9f74749726
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue