Commit ec30d8f5 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove unnecessary pass statements.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@956 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent dcc9fbce
...@@ -92,7 +92,6 @@ class ClientServiceHandler(BaseServiceHandler): ...@@ -92,7 +92,6 @@ class ClientServiceHandler(BaseServiceHandler):
del self.app.finishing_transaction_dict[tid] del self.app.finishing_transaction_dict[tid]
except KeyError: except KeyError:
logging.warn('aborting transaction %s does not exist', dump(tid)) logging.warn('aborting transaction %s does not exist', dump(tid))
pass
def handleAskNewTID(self, conn, packet): def handleAskNewTID(self, conn, packet):
app = self.app app = self.app
...@@ -140,5 +139,4 @@ class ClientServiceHandler(BaseServiceHandler): ...@@ -140,5 +139,4 @@ class ClientServiceHandler(BaseServiceHandler):
t.setMessageId(packet.getId()) t.setMessageId(packet.getId())
except KeyError: except KeyError:
logging.warn('finishing transaction %s does not exist', dump(tid)) logging.warn('finishing transaction %s does not exist', dump(tid))
pass
...@@ -132,17 +132,13 @@ class HiddenHandler(BaseMasterHandler): ...@@ -132,17 +132,13 @@ class HiddenHandler(BaseMasterHandler):
def handleAbortTransaction(self, conn, packet, tid): def handleAbortTransaction(self, conn, packet, tid):
logging.debug('ignoring abort transaction') logging.debug('ignoring abort transaction')
pass
def handleAnswerLastIDs(self, conn, packet, loid, ltid, lptid): def handleAnswerLastIDs(self, conn, packet, loid, ltid, lptid):
logging.debug('ignoring answer last ids') logging.debug('ignoring answer last ids')
pass
def handleAnswerUnfinishedTransactions(self, conn, packet, tid_list): def handleAnswerUnfinishedTransactions(self, conn, packet, tid_list):
logging.debug('ignoring answer unfinished transactions') logging.debug('ignoring answer unfinished transactions')
pass
def handleAskOIDs(self, conn, packet, first, last, partition): def handleAskOIDs(self, conn, packet, first, last, partition):
logging.debug('ignoring ask oids') logging.debug('ignoring ask oids')
pass
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment