changeset 21796 | 8225bb1f0ad3 |
parent 21289 | c3784e3c3e8d |
child 22110 | 26f7c8033bed |
child 22322 | e284de138f00 |
--- a/mercurial/help.py Mon Jun 23 09:24:06 2014 -0400 +++ b/mercurial/help.py Mon Jun 23 09:24:24 2014 -0400 @@ -404,7 +404,7 @@ # description if not doc: rst.append(" %s\n" % _("(no help text available)")) - if util.safehasattr(doc, '__call__'): + if callable(doc): rst += [" %s\n" % l for l in doc().splitlines()] if not ui.verbose: