[Zope-CVS] CVS: Products/Ape/lib/apelib/zodb3 - serializers.py:1.13
Shane Hathaway
shane at zope.com
Thu Jun 10 09:50:18 EDT 2004
Update of /cvs-repository/Products/Ape/lib/apelib/zodb3
In directory cvs.zope.org:/tmp/cvs-serv12652/lib/apelib/zodb3
Modified Files:
serializers.py
Log Message:
Put the keys in the pickle comment in a consistent order
=== Products/Ape/lib/apelib/zodb3/serializers.py 1.12 => 1.13 ===
--- Products/Ape/lib/apelib/zodb3/serializers.py:1.12 Tue Jun 1 22:32:28 2004
+++ Products/Ape/lib/apelib/zodb3/serializers.py Thu Jun 10 09:50:16 2004
@@ -53,6 +53,8 @@
"""
comments = ['# pickle-base-64']
if keys:
+ keys = list(keys)
+ keys.sort()
comments[0] = comments[0] + ' contents:'
for key in keys:
r = repr(key).replace('\n', ' ')
More information about the Zope-CVS
mailing list