[CMF-checkins] CVS: CMF/CMFCollector/Extensions -
webtext_migration.py:1.4.50.1
Yvo Schubbe
y.2004_ at wcm-solutions.de
Sun Sep 12 13:11:19 EDT 2004
Update of /cvs-repository/CMF/CMFCollector/Extensions
In directory cvs.zope.org:/tmp/cvs-serv31307/CMFCollector/Extensions
Modified Files:
Tag: yuppie-post_1_5-cleanup-branch
webtext_migration.py
Log Message:
- removed deprecated meta_type dependent code
=== CMF/CMFCollector/Extensions/webtext_migration.py 1.4 => 1.4.50.1 ===
--- CMF/CMFCollector/Extensions/webtext_migration.py:1.4 Tue Dec 11 18:46:48 2001
+++ CMF/CMFCollector/Extensions/webtext_migration.py Sun Sep 12 13:10:49 2004
@@ -42,7 +42,8 @@
def collector_webtext_migration(self):
"""Migrate old CMF "Document" based transcripts to "WebTextDocument"."""
total_changed = 0
- issues = self.objectValues(spec="CMF Collector Issue")
+ _filter = { 'portal_type': ('Collector Issue',) }
+ issues = self.objectValues(filter=_filter)
for issue in issues:
transcript = issue.get_transcript()
was_p_mtime = transcript._p_mtime
More information about the CMF-checkins
mailing list