From 6a6cfaa8c8276c71240bdca6d25f741abf5769e8 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Wed, 9 Jun 2010 09:08:19 +0000 Subject: [PATCH] Add a comment about possibly dangerous behaviour. git-svn-id: https://svn.erp5.org/repos/neo/trunk@2148 71dcc9de-d417-0410-9af5-da40c76e7ee4 --- neo/master/transactions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neo/master/transactions.py b/neo/master/transactions.py index 7cd21ebb..d86f5872 100644 --- a/neo/master/transactions.py +++ b/neo/master/transactions.py @@ -90,6 +90,8 @@ class Transaction(object): Define that a node has locked the transaction Returns true if all nodes are locked """ + # XXX: Should first check that node is part of transaction, and fail if + # it's not. self._uuid_dict[uuid] = True return self.locked() -- 2.30.9