author | Augie Fackler <raf@durin42.com> |
Mon, 23 Jun 2014 09:24:24 -0400 | |
changeset 21796 | 8225bb1f0ad3 |
parent 21795 | 711498bb4ff5 |
child 21797 | b009dd135aa0 |
mercurial/help.py | file | annotate | diff | comparison | revisions |
--- 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: