[PATCH 06 of 17] commandserver: remove superfluous pass statements

Augie Fackler raf at durin42.com
Sat Sep 30 08:02:12 EDT 2017


# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1506771820 14400
#      Sat Sep 30 07:43:40 2017 -0400
# Node ID 511a498528e67b15c71de5b1c7cc01ec723ae98c
# Parent  979cb36af44c9f3104131ba078221eca550874f1
commandserver: remove superfluous pass statements

diff --git a/mercurial/commandserver.py b/mercurial/commandserver.py
--- a/mercurial/commandserver.py
+++ b/mercurial/commandserver.py
@@ -184,7 +184,6 @@ class server(object):
 
     def cleanup(self):
         """release and restore resources taken during server session"""
-        pass
 
     def _read(self, size):
         if not size:
@@ -422,7 +421,6 @@ class unixservicehandler(object):
 
     def newconnection(self):
         """Called when main process notices new connection"""
-        pass
 
     def createcmdserver(self, repo, conn, fin, fout):
         """Create new command server instance; called in the process that


More information about the Mercurial-devel mailing list