[Erp5-report] r38370 romain - /erp5/trunk/products/ERP5/Document/Person.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Sep 14 16:30:42 CEST 2010
Author: romain
Date: Tue Sep 14 16:30:42 2010
New Revision: 38370
URL: http://svn.erp5.org?rev=38370&view=rev
Log:
getTransactionalVariable's parameter is not mandatory anymore.
Modified:
erp5/trunk/products/ERP5/Document/Person.py
Modified: erp5/trunk/products/ERP5/Document/Person.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Person.py?rev=38370&r1=38369&r2=38370&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Person.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Person.py [utf8] Tue Sep 14 16:30:42 2010
@@ -198,7 +198,7 @@ class Person(EncryptedPasswordMixin, XML
parent_value.serialize()
# Prevent to set the same reference on 2 different persons during the
# same transaction
- transactional_variable = getTransactionalVariable(None)
+ transactional_variable = getTransactionalVariable()
if tag in transactional_variable:
raise RuntimeError, 'user id %s already exist' % (value,)
else:
More information about the Erp5-report
mailing list