diff -r d3b807e673a8 -r e740746ea557 mercurial/minirst.py --- a/mercurial/minirst.py Sat May 26 20:49:51 2012 +0200 +++ b/mercurial/minirst.py Fri Jun 01 11:58:23 2012 +0200 @@ -658,7 +658,7 @@ return lines def maketable(data, indent=0, header=False): - '''Generate an RST table for the given table data''' + '''Generate an RST table for the given table data as a list of lines''' widths = [max(encoding.colwidth(e) for e in c) for c in zip(*data)] indent = ' ' * indent @@ -674,4 +674,4 @@ if header and len(data) > 1: out.insert(2, div) out.append(div) - return ''.join(out) + return out