Show More
@@ -250,13 +250,16 b' class server(object):' | |||||
250 |
|
250 | |||
251 | class pipeservice(object): |
|
251 | class pipeservice(object): | |
252 | def __init__(self, ui, repo, opts): |
|
252 | def __init__(self, ui, repo, opts): | |
253 | self.server = server(ui, repo, ui.fin, ui.fout) |
|
253 | self.ui = ui | |
|
254 | self.repo = repo | |||
254 |
|
255 | |||
255 | def init(self): |
|
256 | def init(self): | |
256 | pass |
|
257 | pass | |
257 |
|
258 | |||
258 | def run(self): |
|
259 | def run(self): | |
259 | return self.server.serve() |
|
260 | ui = self.ui | |
|
261 | sv = server(ui, self.repo, ui.fin, ui.fout) | |||
|
262 | return sv.serve() | |||
260 |
|
263 | |||
261 | class _requesthandler(SocketServer.StreamRequestHandler): |
|
264 | class _requesthandler(SocketServer.StreamRequestHandler): | |
262 | def handle(self): |
|
265 | def handle(self): |
General Comments 0
You need to be logged in to leave comments.
Login now