##// END OF EJS Templates
schemes: use br'' literal to define bytes regexp
Yuya Nishihara -
r31288:198cd5ad default
parent child Browse files
Show More
@@ -63,7 +63,7 b' command = cmdutil.command(cmdtable)'
63 # leave the attribute unspecified.
63 # leave the attribute unspecified.
64 testedwith = 'ships-with-hg-core'
64 testedwith = 'ships-with-hg-core'
65
65
66 _partre = re.compile(r'\{(\d+)\}'.encode(u'latin1'))
66 _partre = re.compile(br'\{(\d+)\}')
67
67
68 class ShortRepository(object):
68 class ShortRepository(object):
69 def __init__(self, url, scheme, templater):
69 def __init__(self, url, scheme, templater):
General Comments 0
You need to be logged in to leave comments. Login now