Show More
@@ -49,7 +49,6 import re | |||
|
49 | 49 | import socket |
|
50 | 50 | |
|
51 | 51 | from mercurial import ( |
|
52 | pycompat, | |
|
53 | 52 | registrar, |
|
54 | 53 | ) |
|
55 | 54 | |
@@ -335,17 +334,13 class fileobjectproxy: | |||
|
335 | 334 | object.__getattribute__(self, '_logfp').flush() |
|
336 | 335 | |
|
337 | 336 | def _close(self): |
|
338 |
# |
|
|
339 | # object wrapper. | |
|
340 | if pycompat.ispy3: | |
|
337 | # We wrap an io.BufferedIO instance. | |
|
341 | 338 |
|
|
342 | 339 | |
|
343 | 340 |
|
|
344 | 341 |
|
|
345 | 342 |
|
|
346 | 343 |
|
|
347 | else: | |
|
348 | self._sock.shutdown(socket.SHUT_RDWR) | |
|
349 | 344 | |
|
350 | 345 | def read(self, size=-1): |
|
351 | 346 | cond = object.__getattribute__(self, '_cond') |
General Comments 0
You need to be logged in to leave comments.
Login now