mercurial/hgweb/webcommands.py
branchstable
changeset 51785 99632adff795
parent 51284 f15cb5111a1e
child 51830 454feddab720
--- a/mercurial/hgweb/webcommands.py	Thu Aug 01 11:14:58 2024 +0100
+++ b/mercurial/hgweb/webcommands.py	Mon Aug 05 20:47:17 2024 +0200
@@ -72,7 +72,7 @@
         self.name = name
 
     def __call__(self, func):
-        __all__.append(self.name)
+        __all__.append(pycompat.sysstr(self.name))
         commands[self.name] = func
         return func