Commit a3023439 authored by Chris McDonough's avatar Chris McDonough

Collector #2342: Multi-arg appends foiled table rendering for Python 2.1

Fixed.
parent 323d2889
...@@ -575,7 +575,7 @@ class DocumentClass: ...@@ -575,7 +575,7 @@ class DocumentClass:
while innertable(tmpstr): while innertable(tmpstr):
start,end = innertable(tmpstr).span() start,end = innertable(tmpstr).span()
if not (start,end-1) in ignore: if not (start,end-1) in ignore:
ignore.append(start,end-1) ignore.append((start,end-1))
tmpstr = " " + tmpstr[end:] tmpstr = " " + tmpstr[end:]
# find the location of column dividers # find the location of column dividers
...@@ -768,7 +768,7 @@ class DocumentClass: ...@@ -768,7 +768,7 @@ class DocumentClass:
else: else:
align="left" align="left"
cols.append(row[index][0],row[index][1],align,valign,row[index][2]) cols.append((row[index][0],row[index][1],align,valign,row[index][2]))
rows.append(cols) rows.append(cols)
cols = [] cols = []
return StructuredTextTable(rows,text,subs,indent=paragraph.indent) return StructuredTextTable(rows,text,subs,indent=paragraph.indent)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment