[POS-commit] r3870 - stoqlib/trunk/stoqlib/reporting/base

Henrique Romano henrique at async.com.br
Fri Jul 7 10:30:08 BRT 2006


Author: henrique
Date: Fri Jul  7 10:30:07 2006
New Revision: 3870

Modified:
   stoqlib/trunk/stoqlib/reporting/base/tables.py

Log:
Use paragraph for extra row too



Modified: stoqlib/trunk/stoqlib/reporting/base/tables.py
==============================================================================
--- stoqlib/trunk/stoqlib/reporting/base/tables.py	(original)
+++ stoqlib/trunk/stoqlib/reporting/base/tables.py	Fri Jul  7 10:30:07 2006
@@ -107,7 +107,8 @@
 
     def add_row(self, row_data):
         """ Just add an extra row to the table """
-        self.extra_rows.append(row_data)
+        self.extra_rows.append([Paragraph(str(d), STYLE_SHEET["Normal"])
+                                    for d in row_data])
 
     #
     # Hooks


More information about the POS-commit mailing list