##// END OF EJS Templates
convert: change socket mode from b'r+' to 'rwb' in cvs.py (issue6789)...
av6 -
r50798:8f9fbc66 stable
parent child Browse files
Show More
@@ -199,7 +199,7 b' class convert_cvs(converter_source):'
199 if sck.recv(128) != b"I LOVE YOU\n":
199 if sck.recv(128) != b"I LOVE YOU\n":
200 raise error.Abort(_(b"CVS pserver authentication failed"))
200 raise error.Abort(_(b"CVS pserver authentication failed"))
201
201
202 self.writep = self.readp = sck.makefile(b'r+')
202 self.writep = self.readp = sck.makefile('rwb')
203
203
204 if not conntype and root.startswith(b":local:"):
204 if not conntype and root.startswith(b":local:"):
205 conntype = b"local"
205 conntype = b"local"
General Comments 0
You need to be logged in to leave comments. Login now