Show More
@@ -40,7 +40,6 b' Config' | |||||
40 |
|
40 | |||
41 | from __future__ import absolute_import |
|
41 | from __future__ import absolute_import | |
42 |
|
42 | |||
43 | import errno |
|
|||
44 | import hashlib |
|
43 | import hashlib | |
45 | import inspect |
|
44 | import inspect | |
46 | import os |
|
45 | import os | |
@@ -543,11 +542,7 b' class chgunixservicehandler(object):' | |||||
543 | # remove another server's socket file. but that's okay |
|
542 | # remove another server's socket file. but that's okay | |
544 | # since that server will detect and exit automatically and |
|
543 | # since that server will detect and exit automatically and | |
545 | # the client will start a new server on demand. |
|
544 | # the client will start a new server on demand. | |
546 | try: |
|
545 | util.tryunlink(self._realaddress) | |
547 | os.unlink(self._realaddress) |
|
|||
548 | except OSError as exc: |
|
|||
549 | if exc.errno != errno.ENOENT: |
|
|||
550 | raise |
|
|||
551 |
|
546 | |||
552 | def printbanner(self, address): |
|
547 | def printbanner(self, address): | |
553 | # no "listening at" message should be printed to simulate hg behavior |
|
548 | # no "listening at" message should be printed to simulate hg behavior |
General Comments 0
You need to be logged in to leave comments.
Login now