[reportlab-users] doc.build empties "story"

Michael Hipp michael at redmule.com
Wed Jan 4 14:43:41 EST 2012


I've been doing this sort of thing forever:

doc = SimpleDocTemplate(self.output, pagesize=page_size,
showBoundary=boundary)
doc.build(self.story)

self.story is a python list. But what has started happening is that after that
'build' call the story is empty. All items have been removed - an empty list. I
don't ever remember it doing that before. Is this expected behavior?

Thanks,
Michael


More information about the reportlab-users mailing list