[Zope3-checkins] SVN: Zope3/trunk/src/transaction/_transaction.py
For some reason it wanted to sort the datamanagers there.
However, the
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri May 21 12:27:43 EDT 2004
Log message for revision 24855:
For some reason it wanted to sort the datamanagers there. However, the
datamanagers do not support sortKey() methods, so that the sorting
fails. I commented this out, so that it works again.
Tim, could you please check wether I did the right thing?
-=-
Modified: Zope3/trunk/src/transaction/_transaction.py
===================================================================
--- Zope3/trunk/src/transaction/_transaction.py 2004-05-21 16:26:04 UTC (rev 24854)
+++ Zope3/trunk/src/transaction/_transaction.py 2004-05-21 16:27:42 UTC (rev 24855)
@@ -375,7 +375,9 @@
else:
L = list(self._resources)
- L.sort(rm_cmp)
+ # XXX: I commented this line out, since data managers do not support
+ # sortKey() and this makes no sense to me. (SR)
+ #L.sort(rm_cmp)
return L
def abort(self, subtransaction=False):
More information about the Zope3-Checkins
mailing list