logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

CVS: CMF/CMFCollector - Collector.py:1.35: msg#00215

Subject: CVS: CMF/CMFCollector - Collector.py:1.35
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)
 






<Prev in Thread] Current Thread [Next in Thread>