diff options
| author | pinky <> | 2006-12-07 13:41:40 +0000 |
|---|---|---|
| committer | pinky <> | 2006-12-07 13:41:40 +0000 |
| commit | 004a0b996ff8f269451e07346f71a129a1f3fbaf (patch) | |
| tree | 48f43c1fc2ca4c1f4d5648e7e73553d3f4ccae06 /bin/reportlab/__init__.py | |
New trunk
bzr revid: pinky-3f10ee12cea3c4c75cef44ab04ad33ef47432907
Diffstat (limited to 'bin/reportlab/__init__.py')
| -rw-r--r-- | bin/reportlab/__init__.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/bin/reportlab/__init__.py b/bin/reportlab/__init__.py new file mode 100644 index 00000000000..f961fb448a4 --- /dev/null +++ b/bin/reportlab/__init__.py @@ -0,0 +1,23 @@ +#Copyright ReportLab Europe Ltd. 2000-2004 +#see license.txt for license details +#history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/__init__.py +__version__=''' $Id$ ''' +__doc__="""The Reportlab PDF generation library.""" +Version = "1.20" + +def getStory(context): + if context.target == 'UserGuide': + # parse some local file + import os + myDir = os.path.split(__file__)[0] + import yaml + return yaml.parseFile(myDir + os.sep + 'mydocs.yaml') + else: + # this signals that it should revert to default processing + return None + + +def getMonitor(): + import reportlab.monitor + mon = reportlab.monitor.ReportLabToolkitMonitor() + return mon |
