[kupu-checkins] r33454 - kupu/trunk/kupu/plone
duncan at codespeak.net
duncan at codespeak.net
Thu Oct 19 14:18:26 CEST 2006
Author: duncan
Date: Thu Oct 19 14:18:24 2006
New Revision: 33454
Modified:
kupu/trunk/kupu/plone/html2captioned.py
Log:
Need to refactor this to get rid of CompositePack specific hacks.
Modified: kupu/trunk/kupu/plone/html2captioned.py
==============================================================================
--- kupu/trunk/kupu/plone/html2captioned.py (original)
+++ kupu/trunk/kupu/plone/html2captioned.py Thu Oct 19 14:18:24 2006
@@ -250,10 +250,7 @@
def mkQuery(self):
query = {}
if self.portal_type:
- if self.portal_type==FRAGMENT_TYPE:
- query['portal_type'] = NAVIGATION_PAGE
- else:
- query['portal_type'] = self.portal_type
+ query['portal_type'] = sanitize_portal_type(self.portal_type)
if self.paths:
query['path'] = self.paths
query['Language'] = 'all'
More information about the kupu-checkins
mailing list