author | Augie Fackler <raf@durin42.com> |
Mon, 23 Jun 2014 09:23:47 -0400 | |
changeset 21792 | e15c991fe2ec |
parent 21791 | fb16f6da5b3b |
child 21793 | e0b29a0c36c4 |
--- a/doc/check-seclevel.py Mon Jun 23 09:22:53 2014 -0400 +++ b/doc/check-seclevel.py Mon Jun 23 09:23:47 2014 -0400 @@ -14,7 +14,6 @@ from mercurial.help import helptable from mercurial import extensions from mercurial import minirst -from mercurial import util _verbose = False @@ -87,7 +86,7 @@ def checkhghelps(): errorcnt = 0 for names, sec, doc in helptable: - if util.safehasattr(doc, '__call__'): + if callable(doc): doc = doc() errorcnt += checkseclevel(doc, '%s help topic' % names[0],