[CMF-checkins] CVS: CMF/CMFCollector - CollectorSubset.py:1.3
Tres Seaver
tseaver@zope.com
Mon, 17 Jun 2002 18:56:52 -0400
Update of /cvs-repository/CMF/CMFCollector
In directory cvs.zope.org:/tmp/cvs-serv1638
Modified Files:
CollectorSubset.py
Log Message:
- Accomodate weird indexing in collector catalog.
=== CMF/CMFCollector/CollectorSubset.py 1.2 => 1.3 ===
, 'submitter_id'
, 'supporters:list'
- , 'topic'
- , 'class'
- , 'importance'
+ , 'topics:list'
+ , 'classifications:list'
+ , 'importances:list'
)
class CollectorSubset( PortalContent, DefaultDublinCoreImpl ):
@@ -145,7 +145,10 @@
"""
Erase all parameters.
"""
- del self._parameters
+ try:
+ del self._parameters
+ except KeyError:
+ pass
def addCollectorSubset( self, id, REQUEST=None ):