[reportlab-users] Bug: String exception raised in pdfdoc.py
Benjamin Dumke
reportlab at benjamin-dumke.de
Mon Nov 9 06:32:59 EST 2009
Hi,
line 1416 in pdfbase/pdfdoc.py (reportlab 2.3) reads
raise "in outline, destination name must be string: got a %s" % Ot
Since string exceptions are illegal since Python 2.6, this raises a type error. Proposed fix:
raise Exception("in outline, destination name must be string: got a %s" % Ot)
Greets
Ben
More information about the reportlab-users
mailing list