changeset 14957 | 16e5271b216f |
parent 14570 | 9f908ef5a595 |
child 16308 | 2695aaf4eb72 |
--- a/mercurial/hgweb/webutil.py Mon Jul 25 15:38:10 2011 -0500 +++ b/mercurial/hgweb/webutil.py Mon Jul 25 15:38:46 2011 -0500 @@ -72,7 +72,7 @@ d['date'] = s.date() d['description'] = s.description() d['branch'] = s.branch() - if hasattr(s, 'path'): + if util.safehasattr(s, 'path'): d['file'] = s.path() yield d