changeset 9022:a6225ac2a656

merge wtih crew-stable
author Martin Geisler <mg@lazybytes.net>
date Sat, 04 Jul 2009 12:25:10 +0200
parents 609b803dd252 (current diff) 2ccb527c7b1a (diff)
children cd92a6968f70
files
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/gendoc.py	Sat Jul 04 12:06:33 2009 +0200
+++ b/doc/gendoc.py	Sat Jul 04 12:25:10 2009 +0200
@@ -103,7 +103,9 @@
         underlined(gettext(section).upper())
         if callable(doc):
             doc = doc()
-        ui.write(gettext(doc))
+        else:
+            doc = gettext(doc)
+        ui.write(doc)
         ui.write("\n")
 
 if __name__ == "__main__":