Show More
@@ -14,7 +14,6 b' from mercurial.commands import table' | |||||
14 | from mercurial.help import helptable |
|
14 | from mercurial.help import helptable | |
15 | from mercurial import extensions |
|
15 | from mercurial import extensions | |
16 | from mercurial import minirst |
|
16 | from mercurial import minirst | |
17 | from mercurial import util |
|
|||
18 |
|
17 | |||
19 | _verbose = False |
|
18 | _verbose = False | |
20 |
|
19 | |||
@@ -87,7 +86,7 b' def checkcmdtable(cmdtable, namefmt, ini' | |||||
87 | def checkhghelps(): |
|
86 | def checkhghelps(): | |
88 | errorcnt = 0 |
|
87 | errorcnt = 0 | |
89 | for names, sec, doc in helptable: |
|
88 | for names, sec, doc in helptable: | |
90 | if util.safehasattr(doc, '__call__'): |
|
89 | if callable(doc): | |
91 | doc = doc() |
|
90 | doc = doc() | |
92 | errorcnt += checkseclevel(doc, |
|
91 | errorcnt += checkseclevel(doc, | |
93 | '%s help topic' % names[0], |
|
92 | '%s help topic' % names[0], |
General Comments 0
You need to be logged in to leave comments.
Login now