changeset 14943 | d3bb825ddae3 |
parent 14941 | 4a28cb4df1f8 |
child 14944 | e2c413bde8a5 |
--- a/mercurial/templater.py Mon Jul 25 14:59:55 2011 -0500 +++ b/mercurial/templater.py Mon Jul 25 16:24:37 2011 -0500 @@ -135,7 +135,7 @@ v = mapping.get(key) if v is None: v = context._defaults.get(key, '') - if hasattr(v, '__call__'): + if util.safehasattr(v, '__call__'): return v(**mapping) return v