From 9f74749726b709621092bee198e71b720bcf15d2 Mon Sep 17 00:00:00 2001 From: "qdp-launchpad@tinyerp.com" <> Date: Mon, 28 Jun 2010 16:49:20 +0200 Subject: [PATCH] [FIX] reports were always printing the same page bzr revid: qdp-launchpad@tinyerp.com-20100628144920-c0z71jadlee2n69i --- bin/report/render/rml2pdf/utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/report/render/rml2pdf/utils.py b/bin/report/render/rml2pdf/utils.py index 0863090464f..35fc27be64c 100644 --- a/bin/report/render/rml2pdf/utils.py +++ b/bin/report/render/rml2pdf/utils.py @@ -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: