Changeset 2945 in products
- Timestamp:
- Oct 29, 2010 10:53:54 AM (14 years ago)
- Location:
- quintagroup.plonegooglesitemaps/branches/blacklist/quintagroup/plonegooglesitemaps
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonegooglesitemaps/branches/blacklist/quintagroup/plonegooglesitemaps/browser/commonview.py
r2941 r2945 108 108 # consideration self.context and self.request, if needed. 109 109 """ 110 blackout_list = filter(None, self.context.getBlackout_list())110 blackout_list = self.context.getBlackout_list() 111 111 for frec in blackout_list: 112 112 fspec = frec.split(":", 1) -
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.