[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.625.2.306
Sidnei da Silva
sidnei at awkly.org
Fri Mar 11 11:25:21 EST 2005
Update of /cvs-repository/Zope/doc
In directory cvs.zope.org:/tmp/cvs-serv21172/doc
Modified Files:
Tag: Zope-2_7-branch
CHANGES.txt
Log Message:
- Use 'del' instead of 'list.remove()' in
Catalog.delColumn(). There can be only one column with the
same name, and it could potentially break catalog metadata as
remove() may remove more than one element from the list if
they have the same value. Also, we already have the list index
we are interested in deleting so it doesn't make sense to look
up the value and call 'list.remove()' on it.
=== Zope/doc/CHANGES.txt 1.625.2.305 => 1.625.2.306 ===
--- Zope/doc/CHANGES.txt:1.625.2.305 Thu Mar 10 16:51:15 2005
+++ Zope/doc/CHANGES.txt Fri Mar 11 11:24:51 2005
@@ -22,6 +22,13 @@
- Updated doc/INSTALL.txt to match currently preferred and
acceptable Python versions.
+ - Use 'del' instead of 'list.remove()' in
+ Catalog.delColumn(). There can be only one column with the
+ same name, and it could potentially break catalog metadata as
+ remove() may remove more than one element from the list if
+ they have the same value. Also, we already have the list index
+ we are interested in deleting so it doesn't make sense to look
+ up the value and call 'list.remove()' on it.
Zope 2.7.5 RC 1 (2005/03/09)
More information about the Zope-Checkins
mailing list