mercurial/scmutil.py
changeset 31419 1fc3d1f02865
parent 31349 719e64bf9ec2
child 31553 56acc4250900
--- a/mercurial/scmutil.py	Wed Mar 15 00:27:17 2017 -0700
+++ b/mercurial/scmutil.py	Thu Mar 16 06:32:33 2017 +0530
@@ -885,7 +885,7 @@
 
     def __call__(self, func):
         self.func = func
-        self.name = func.__name__
+        self.name = func.__name__.encode('ascii')
         return self
 
     def __get__(self, obj, type=None):