equal
deleted
inserted
replaced
151 sck = socket.socket() |
151 sck = socket.socket() |
152 sck.connect((serv, port)) |
152 sck.connect((serv, port)) |
153 sck.send("\n".join(["BEGIN AUTH REQUEST", root, user, passw, |
153 sck.send("\n".join(["BEGIN AUTH REQUEST", root, user, passw, |
154 "END AUTH REQUEST", ""])) |
154 "END AUTH REQUEST", ""])) |
155 if sck.recv(128) != "I LOVE YOU\n": |
155 if sck.recv(128) != "I LOVE YOU\n": |
156 raise NoRepo("CVS pserver authentication failed") |
156 raise util.Abort("CVS pserver authentication failed") |
157 |
157 |
158 self.writep = self.readp = sck.makefile('r+') |
158 self.writep = self.readp = sck.makefile('r+') |
159 |
159 |
160 if not conntype and root.startswith(":local:"): |
160 if not conntype and root.startswith(":local:"): |
161 conntype = "local" |
161 conntype = "local" |