##// END OF EJS Templates
commandserver: remove redundant "if True" block
Yuya Nishihara -
r40913:9f00de4d default
parent child Browse files
Show More
@@ -570,7 +570,6 b' class unixforkingservice(object):'
570 570
571 571 def _acceptnewconnection(self, sock, selector):
572 572 h = self._servicehandler
573 if True:
574 573 try:
575 574 conn, _addr = sock.accept()
576 575 except socket.error as inst:
@@ -581,8 +580,8 b' class unixforkingservice(object):'
581 580 pid = os.fork()
582 581 if pid:
583 582 try:
584 self.ui.log(b'cmdserver',
585 b'forked worker process (pid=%d)\n', pid)
583 self.ui.log(b'cmdserver', b'forked worker process (pid=%d)\n',
584 pid)
586 585 self._workerpids.add(pid)
587 586 h.newconnection()
588 587 finally:
General Comments 0
You need to be logged in to leave comments. Login now