mercurial/minirst.py
branchstable
changeset 29155 aaabed77791a
parent 27729 58f8b29c37ff
child 30390 bff77a693531
--- a/mercurial/minirst.py	Fri May 13 07:19:59 2016 +0900
+++ b/mercurial/minirst.py	Fri May 13 07:19:59 2016 +0900
@@ -724,7 +724,7 @@
             x = b['key']
         else:
             x = b['lines'][0]
-        x = x.lower().strip('"')
+        x = encoding.lower(x).strip('"')
         if '(' in x:
             x = x.split('(')[0]
         return x