[CMF-checkins] CVS: CMF/CMFCollector/skins/collector - collector_issue_trim_states.py:1.2
Ken Manheimer
klm@zope.com
Thu, 18 Oct 2001 13:42:00 -0400
Update of /cvs-repository/CMF/CMFCollector/skins/collector
In directory cvs.zope.org:/tmp/cvs-serv12198
Modified Files:
collector_issue_trim_states.py
Log Message:
Omit standard-workflow 'pending' (lower case, as opposed to collector
upper-case 'Pending') state.
This is looking kludgy - i need to see about either having a separate
index for issue_workflow state, or better reconciling with standard
state (or neither - this may be another reason for going with a local
catalog as described in http://new.zope.org/Members/klm/ColDev/4 .)
=== CMF/CMFCollector/skins/collector/collector_issue_trim_states.py 1.1 => 1.2 ===
got = []
for i in states:
- if i in ['private', 'published']:
+ if i in ['private', 'published', 'pending']:
continue
trim = string.split(i, '_')[0]
if trim not in got: