changeset 4551 | d357e2acc856 |
parent 4530 | 3f6cc4ae6211 |
child 4596 | 4c56a5750bd1 |
--- a/src/reportlab/platypus/doctemplate.py Thu Oct 24 15:53:59 2019 +0100 +++ b/src/reportlab/platypus/doctemplate.py Thu Oct 24 16:07:15 2019 +0100 @@ -1215,7 +1215,7 @@ try: if lifetime not in self._allowedLifetimes: raise ValueError('bad lifetime %r not in %r'%(lifetime,self._allowedLifetimes)) - exec(stmt, {},NS) + exec(stmt, NS) except: for k in NS.keys(): if k not in K0: