commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r8230 - trunk/gnue-common/src/printing/pdftable


From: jamest
Subject: [gnue] r8230 - trunk/gnue-common/src/printing/pdftable
Date: Wed, 15 Mar 2006 14:20:29 -0600 (CST)

Author: jamest
Date: 2006-03-15 14:20:29 -0600 (Wed, 15 Mar 2006)
New Revision: 8230

Modified:
   trunk/gnue-common/src/printing/pdftable/pdftable.py
Log:
pdf table converts input to strings for proper handling


Modified: trunk/gnue-common/src/printing/pdftable/pdftable.py
===================================================================
--- trunk/gnue-common/src/printing/pdftable/pdftable.py 2006-03-15 14:10:19 UTC 
(rev 8229)
+++ trunk/gnue-common/src/printing/pdftable/pdftable.py 2006-03-15 20:20:29 UTC 
(rev 8230)
@@ -369,7 +369,7 @@
 
     i = 0
     while i < len(data):
-      col = data[i]
+      col = str(data[i])
       # Find the hlx values (used for column highlight and borders)   
       if i > 0:
         hlx1 = self._currentSection['columnCoords'][i-1][1]+self.columnGap/2.0
@@ -782,4 +782,4 @@
     global fontDefs
     assert fontStyle in fontDefs.keys(), 'Invalid font style: %s'
     
-    fontDefs[fontStyle] = settings
\ No newline at end of file
+    fontDefs[fontStyle] = settings





reply via email to

[Prev in Thread] Current Thread [Next in Thread]