[Zope-Checkins] SVN: Zope/branches/davisagli-exclude-parent-pointers-from-export/src/OFS/ObjectManager.py use non-optimistic savepoints; thx elro & hannosch
David Glick
davidglick at onenw.org
Fri Mar 11 10:39:29 EST 2011
Log message for revision 120869:
use non-optimistic savepoints; thx elro & hannosch
Changed:
U Zope/branches/davisagli-exclude-parent-pointers-from-export/src/OFS/ObjectManager.py
-=-
Modified: Zope/branches/davisagli-exclude-parent-pointers-from-export/src/OFS/ObjectManager.py
===================================================================
--- Zope/branches/davisagli-exclude-parent-pointers-from-export/src/OFS/ObjectManager.py 2011-03-11 15:16:26 UTC (rev 120868)
+++ Zope/branches/davisagli-exclude-parent-pointers-from-export/src/OFS/ObjectManager.py 2011-03-11 15:39:28 UTC (rev 120869)
@@ -589,11 +589,11 @@
ob = aq_base(ob)
parent = getattr(ob, '__parent__', _marker)
if parent is not _marker:
- sp = transaction.savepoint(True)
+ sp = transaction.savepoint()
del ob.__parent__
# create a savepoint so that the export includes the version
# without a __parent__ pointer
- transaction.savepoint(True)
+ transaction.savepoint()
try:
if toxml:
exportXML(ob._p_jar, ob._p_oid, f)
More information about the Zope-Checkins
mailing list