Show More
@@ -110,7 +110,7 b' def show_doc(ui):' | |||||
110 | ui.write(".. _%s:\n" % name) |
|
110 | ui.write(".. _%s:\n" % name) | |
111 | ui.write("\n") |
|
111 | ui.write("\n") | |
112 | section(sec) |
|
112 | section(sec) | |
113 | if callable(doc): |
|
113 | if hasattr(doc, '__call__'): | |
114 | doc = doc() |
|
114 | doc = doc() | |
115 | ui.write(doc) |
|
115 | ui.write(doc) | |
116 | ui.write("\n") |
|
116 | ui.write("\n") |
General Comments 0
You need to be logged in to leave comments.
Login now