diff mercurial/help.py @ 16815:e740746ea557

minirst: generate tables as a list of joined lines
author Olav Reinert <seroton10@gmail.com>
date Fri, 01 Jun 2012 11:58:23 +0200
parents c0b98f436cce
children d10994f1c7a2
line wrap: on
line diff
--- a/mercurial/help.py	Sat May 26 20:49:51 2012 +0200
+++ b/mercurial/help.py	Fri Jun 01 11:58:23 2012 +0200
@@ -58,9 +58,9 @@
     rst = minirst.maketable(data, 1)
 
     if multioccur:
-        rst += _("\n[+] marked option can be specified multiple times\n")
+        rst.append(_("\n[+] marked option can be specified multiple times\n"))
 
-    return rst
+    return ''.join(rst)
 
 # list all option lists
 def opttext(optlist, width, verbose):