##// END OF EJS Templates
convert: turn the last str regex into bytes in cvs.py (issue6789)...
av6 -
r50797:9282930f stable
parent child Browse files
Show More
@@ -142,7 +142,9 b' class convert_cvs(converter_source):'
142
142
143 if root.startswith(b":pserver:"):
143 if root.startswith(b":pserver:"):
144 root = root[9:]
144 root = root[9:]
145 m = re.match(r'(?:(.*?)(?::(.*?))?@)?([^:/]*)(?::(\d*))?(.*)', root)
145 m = re.match(
146 br'(?:(.*?)(?::(.*?))?@)?([^:/]*)(?::(\d*))?(.*)', root
147 )
146 if m:
148 if m:
147 conntype = b"pserver"
149 conntype = b"pserver"
148 user, passw, serv, port, root = m.groups()
150 user, passw, serv, port, root = m.groups()
General Comments 0
You need to be logged in to leave comments. Login now