Changeset 3152 in products for quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/filters.py
- Timestamp:
- Apr 20, 2011 8:20:36 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/filters.py
r3002 r3152 16 16 def filterOut(self, fdata, fargs): 17 17 """Filter-out fdata list by id in fargs.""" 18 return ifilter(lambda b, fa=fargs:(b.getId or b.id) != fargs,18 return ifilter(lambda b, fa=fargs: (b.getId or b.id) != fargs, 19 19 fdata) 20 20 … … 44 44 return fdata 45 45 46 return ifilter(lambda b, tp=test_path: b.getPath() != tp,46 return ifilter(lambda b, tp=test_path: b.getPath() != tp, 47 47 fdata)
Note: See TracChangeset
for help on using the changeset viewer.