##// END OF EJS Templates
commandserver: unindent superfluous "if True" blocks
Yuya Nishihara -
r29585:6ed452d0 default
parent child Browse files
Show More
@@ -581,7 +581,6 class chgunixservicehandler(object):
581 pass
581 pass
582
582
583 def shouldexit(self):
583 def shouldexit(self):
584 if True: # TODO: unindent
585 if not self.issocketowner():
584 if not self.issocketowner():
586 _log('%s is not owned, exiting.\n' % self.address)
585 _log('%s is not owned, exiting.\n' % self.address)
587 return True
586 return True
@@ -343,7 +343,6 class pipeservice(object):
343 _restoreio(ui, fin, fout)
343 _restoreio(ui, fin, fout)
344
344
345 def _serverequest(ui, repo, conn, createcmdserver):
345 def _serverequest(ui, repo, conn, createcmdserver):
346 if True: # TODO: unindent
347 # use a different process group from the master process, making this
346 # use a different process group from the master process, making this
348 # process pass kernel "is_current_pgrp_orphaned" check so signals like
347 # process pass kernel "is_current_pgrp_orphaned" check so signals like
349 # SIGTSTP, SIGTTIN, SIGTTOU are not ignored.
348 # SIGTSTP, SIGTTIN, SIGTTOU are not ignored.
General Comments 0
You need to be logged in to leave comments. Login now