mercurial/templateutil.py
changeset 50611 832df74a488f
parent 50610 a6a17f799839
child 50612 f013e790d8bf
--- a/mercurial/templateutil.py	Thu Feb 02 17:37:25 2023 +0100
+++ b/mercurial/templateutil.py	Thu Feb 02 17:37:31 2023 +0100
@@ -301,7 +301,7 @@
     def _wrapvalue(self, key, val):
         if val is None:
             return
-        if util.safehasattr(val, b'_makemap'):
+        if util.safehasattr(val, '_makemap'):
             # a nested hybrid list/dict, which has its own way of map operation
             return val
         return hybriditem(None, key, val, self._makemap)