[CMF-checkins] CVS: CMF/CMFCollector - Collector.py:1.35

Sidnei da Silva sidnei@x3ng.com.br
Tue, 23 Jul 2002 09:53:07 -0400


Update of /cvs-repository/CMF/CMFCollector
In directory cvs.zope.org:/tmp/cvs-serv19132

Modified Files:
	Collector.py 
Log Message:
The id column was causing backward incompatibility. It was dropped somewere in the CMF, and Collector needs it. However, people getting the collector into old versions of CMF were getting duplicate column errors. Added a filter to make sure no doubles are passed to the catalog tool.

=== CMF/CMFCollector/Collector.py 1.34 => 1.35 ===
                   'action_number',
                   'upload_number',
                   )
+        custom = tuple([col for col in custom if col not in standard])
         return standard + custom
+
 
 InitializeClass(CollectorCatalog)