Census report made this value too big (it tried to make more than 50 columns) even though the US 1880 census only has about 24.

svn: r15815
This commit is contained in:
Doug Blank 2010-08-25 05:07:44 +00:00
parent 1f9eee3d92
commit 69b845c388

View File

@ -699,7 +699,7 @@ class ODFDoc(BaseDoc, TextDoc, DrawDoc):
'</style:style>\n'
)
for col in range(0, style.get_columns()):
for col in range(0, min(style.get_columns(), 50)):
width = table_width * float(style.get_column_width(col) / 100.0)
width_str = "%.4f" % width
wrt(