mercurial/util.py
changeset 37085 1a1d1c44b570
parent 37084 191cba70fe27
child 37086 f99d64e8a4e4
--- a/mercurial/util.py	Thu Mar 22 21:20:47 2018 +0900
+++ b/mercurial/util.py	Thu Mar 22 21:32:19 2018 +0900
@@ -34,7 +34,6 @@
 import signal
 import socket
 import stat
-import string
 import subprocess
 import sys
 import tempfile
@@ -3076,9 +3075,6 @@
     """
     return _booleans.get(s.lower(), None)
 
-_hextochr = dict((a + b, chr(int(a + b, 16)))
-                 for a in string.hexdigits for b in string.hexdigits)
-
 class url(object):
     r"""Reliable URL parser.