mercurial/hgweb/webutil.py
changeset 50580 f30ce3558c2b
parent 49284 d44e3c45f0e4
child 50916 98b8836d0e82
--- a/mercurial/hgweb/webutil.py	Thu Feb 02 17:27:43 2023 +0100
+++ b/mercurial/hgweb/webutil.py	Thu Feb 02 17:27:50 2023 +0100
@@ -211,7 +211,7 @@
             b'description': s.description(),
             b'branch': s.branch(),
         }
-        if util.safehasattr(s, b'path'):
+        if util.safehasattr(s, 'path'):
             d[b'file'] = s.path()
         yield d