src/reportlab/platypus/doctemplate.py
changeset 2998 efe6a1d93dd2
parent 2996 13de24dfc11b
child 3009 71ae9bbac9fb
--- a/src/reportlab/platypus/doctemplate.py	Wed Sep 24 11:08:04 2008 +0000
+++ b/src/reportlab/platypus/doctemplate.py	Wed Sep 24 12:16:59 2008 +0000
@@ -687,8 +687,9 @@
                         raise LayoutError(ident)
                     # this ought to be cleared when they are finally drawn!
                     f._postponed = 1
-                    if self._multiBuildEdits:
-                        self._multiBuildEdits((delattr,f,'_postponed'))
+                    mbe = getattr(self,'_multiBuildEdits',None)
+                    if mbe:
+                        mbe((delattr,f,'_postponed'))
                     flowables.insert(0,f)           # put the flowable back
                     self.handle_frameEnd()