src/reportlab/platypus/doctemplate.py
changeset 3161 5717a3003dc3
parent 3131 0f15fabe9d8d
child 3175 bf81f5b13ba8
--- a/src/reportlab/platypus/doctemplate.py	Wed May 27 11:01:34 2009 +0000
+++ b/src/reportlab/platypus/doctemplate.py	Thu May 28 09:34:43 2009 +0000
@@ -565,7 +565,7 @@
                         c.append(t)
                         found = 1
                 if not found:
-                    raise ValueError("Cannot find page template called %s" % templateName)
+                    raise ValueError("Cannot find page template called %s" % ptn)
             if not c:
                 raise ValueError("No valid page templates in cycle")
             elif c._restart>len(c):