reportlab/platypus/doctemplate.py
changeset 2098 57b8eadaf3de
parent 2083 52aae853f269
child 2104 f5e5b7a4fb29
equal deleted inserted replaced
2097:47a369d004c3 2098:57b8eadaf3de
     1 #copyright ReportLab Inc. 2000
     1 #copyright ReportLab Inc. 2000
     2 #see license.txt for license details
     2 #see license.txt for license details
     3 #history http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/reportlab/platypus/doctemplate.py?cvsroot=reportlab
     3 #history http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/reportlab/platypus/doctemplate.py?cvsroot=reportlab
     4 #$Header: /tmp/reportlab/reportlab/platypus/doctemplate.py,v 1.64 2003/10/06 11:31:09 rgbecker Exp $
     4 #$Header: /tmp/reportlab/reportlab/platypus/doctemplate.py,v 1.65 2003/10/22 12:13:50 rgbecker Exp $
     5 
     5 
     6 __version__=''' $Id: doctemplate.py,v 1.64 2003/10/06 11:31:09 rgbecker Exp $ '''
     6 __version__=''' $Id: doctemplate.py,v 1.65 2003/10/22 12:13:50 rgbecker Exp $ '''
     7 
     7 
     8 __doc__="""
     8 __doc__="""
     9 This module contains the core structure of platypus.
     9 This module contains the core structure of platypus.
    10 
    10 
    11 Platypus constructs documents.  Document styles are determined by DocumentTemplates.
    11 Platypus constructs documents.  Document styles are determined by DocumentTemplates.
   103             if aerr.args[0]==arn:
   103             if aerr.args[0]==arn:
   104                 raise NotImplementedError, "Can't handle ActionFlowable(%s)" % action
   104                 raise NotImplementedError, "Can't handle ActionFlowable(%s)" % action
   105             else:
   105             else:
   106                 raise
   106                 raise
   107         except "bogus":
   107         except "bogus":
   108             t, v, None = sys.exc_info()
   108             t, v, unused = sys.exc_info()
   109             raise t, "%s\n   handle_%s args=%s"%(v,action,args)
   109             raise t, "%s\n   handle_%s args=%s"%(v,action,args)
   110 
   110 
   111     def __call__(self):
   111     def __call__(self):
   112         return self
   112         return self
   113 
   113