Skip to content
Snippets Groups Projects
Commit e15c991f authored by durin42's avatar durin42
Browse files

check-seclevel: restore use of callable() since it was readded in Python 3.2

parent fb16f6da
No related branches found
No related tags found
No related merge requests found
......@@ -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],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment