Commit 6a381190 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove some XXX

- Rollback out of a transaction is not an issue with MySQL.
- Any unimplemented packet type must fallback to default handler and raise UnExpectedPacketError exception.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1445 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 17681cbc
...@@ -314,7 +314,6 @@ class EventHandler(object): ...@@ -314,7 +314,6 @@ class EventHandler(object):
raise UnexpectedPacketError raise UnexpectedPacketError
def answerNodeInformation(self, conn, packet): def answerNodeInformation(self, conn, packet):
# XXX: Just an acknowledge, to be removed
raise UnexpectedPacketError raise UnexpectedPacketError
def askClusterState(self, conn, packet): def askClusterState(self, conn, packet):
......
...@@ -52,7 +52,6 @@ class DatabaseManager(object): ...@@ -52,7 +52,6 @@ class DatabaseManager(object):
""" """
Rollback the current transaction Rollback the current transaction
""" """
# XXX: don't care if not in a transaction ?
self._rollback() self._rollback()
self._under_transaction = False self._under_transaction = False
......
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