--- a/reportlab/demos/odyssey/dodyssey.py Wed May 31 10:12:45 2000 +0000
+++ b/reportlab/demos/odyssey/dodyssey.py Thu Jun 01 09:41:12 2000 +0000
@@ -31,9 +31,12 @@
#
###############################################################################
# $Log: dodyssey.py,v $
+# Revision 1.6 2000/06/01 09:41:11 rgbecker
+# test filename case fix
+#
# Revision 1.5 2000/05/17 22:15:58 rgbecker
# Renamed BasicFrame to Frame
-#
+#
# Revision 1.4 2000/05/13 09:23:45 rgbecker
# Fix spacing bugs
#
@@ -58,7 +61,7 @@
# Revision 1.1 2000/04/06 08:58:09 rgbecker
# Paragraph formatting version of odyssey.py
#
-__version__=''' $Id: dodyssey.py,v 1.5 2000/05/17 22:15:58 rgbecker Exp $ '''
+__version__=''' $Id: dodyssey.py,v 1.6 2000/06/01 09:41:11 rgbecker Exp $ '''
__doc__=''
#REPORTLAB_TEST_SCRIPT
@@ -239,7 +242,7 @@
print "saving to PDF took %.4f seconds" %(t7-t6)
print "Total run took %.4f seconds"%(t7-t0)
-for fn in ('Odyssey.full.txt','Odyssey.txt'):
+for fn in ('odyssey.full.txt','odyssey.txt'):
if os.path.isfile(fn):
break
--- a/reportlab/demos/odyssey/fodyssey.py Wed May 31 10:12:45 2000 +0000
+++ b/reportlab/demos/odyssey/fodyssey.py Thu Jun 01 09:41:12 2000 +0000
@@ -31,9 +31,12 @@
#
###############################################################################
# $Log: fodyssey.py,v $
+# Revision 1.11 2000/06/01 09:41:12 rgbecker
+# test filename case fix
+#
# Revision 1.10 2000/05/17 16:29:39 rgbecker
# Removal of SimpleFrame
-#
+#
# Revision 1.9 2000/05/17 15:37:33 rgbecker
# Changes related to removal of SimpleFlowDocument
#
@@ -61,7 +64,7 @@
# Revision 1.1 2000/04/06 08:58:09 rgbecker
# Paragraph formatting version of odyssey.py
#
-__version__=''' $Id: fodyssey.py,v 1.10 2000/05/17 16:29:39 rgbecker Exp $ '''
+__version__=''' $Id: fodyssey.py,v 1.11 2000/06/01 09:41:12 rgbecker Exp $ '''
__doc__=''
#REPORTLAB_TEST_SCRIPT
@@ -219,7 +222,7 @@
print "saving to PDF took %.4f seconds" %(t7-t6)
print "Total run took %.4f seconds"%(t7-t0)
-for fn in ('Odyssey.full.txt','Odyssey.txt'):
+for fn in ('odyssey.full.txt','odyssey.txt'):
if os.path.isfile(fn):
break
if __name__=='__main__':
--- a/reportlab/demos/odyssey/odyssey.py Wed May 31 10:12:45 2000 +0000
+++ b/reportlab/demos/odyssey/odyssey.py Thu Jun 01 09:41:12 2000 +0000
@@ -31,9 +31,12 @@
#
###############################################################################
# $Log: odyssey.py,v $
+# Revision 1.8 2000/06/01 09:41:12 rgbecker
+# test filename case fix
+#
# Revision 1.7 2000/04/06 08:51:06 rgbecker
# Fix to timing page count, try to read full text
-#
+#
# Revision 1.6 2000/03/08 13:06:39 andy_robinson
# Moved inch and cm definitions to reportlab.lib.units and amended all demos
#
@@ -52,7 +55,7 @@
# Revision 1.1.1.1 2000/02/15 15:09:29 rgbecker
# Initial setup of demos directory and contents.
#
-__version__=''' $Id: odyssey.py,v 1.7 2000/04/06 08:51:06 rgbecker Exp $ '''
+__version__=''' $Id: odyssey.py,v 1.8 2000/06/01 09:41:12 rgbecker Exp $ '''
___doc__=''
#odyssey.py
#
@@ -129,7 +132,7 @@
canv.setFont('Times-Roman', 12)
tx = canv.beginText(left_margin, top_margin - 0.5*inch)
- for fn in ('Odyssey.full.txt','Odyssey.txt'):
+ for fn in ('odyssey.full.txt','odyssey.txt'):
if os.path.isfile(fn):
break
@@ -171,10 +174,6 @@
speed = pages / elapsed
print '%d pages in %0.2f seconds = %0.2f pages per second' % (
pages, elapsed, speed)
-
-
-
-
-
+
if __name__=='__main__':
run()