Changeset 2945 in products for quintagroup.plonegooglesitemaps/branches/blacklist/quintagroup/plonegooglesitemaps/content/sitemap.py
- Timestamp:
- Oct 29, 2010 10:53:54 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonegooglesitemaps/branches/blacklist/quintagroup/plonegooglesitemaps/content/sitemap.py
r2942 r2945 62 62 widget=atapi.LinesWidget( 63 63 label=_(u"Blackout entries"), 64 description=_(u"The objects with the given ids will not be " \ 65 u"included in sitemap."), 64 description=_( 65 u"Objects which match filter condition will be excluded from the sitemap." \ 66 u"Every record should follow the spec: [<filter name>:]<filter arguments>."\ 67 u" By default there are \"id\" and \"path\" filters (\"id\" used if filter"\ 68 u" name not specified). There is possibility to add new filters. "\ 69 u"Look into README.txt of the quintagroup.plonegooglesitemaps package."), 66 70 ), 67 71 ), … … 162 166 def setBlackout_list(self, value, **kw): 163 167 """Clean-up whitespaces and empty lines.""" 164 import pdb;pdb.set_trace()165 168 val = filter(None, map(string.strip, value)) 166 169 self.getField('blackout_list').set(self, val)
Note: See TracChangeset
for help on using the changeset viewer.