Changeset 2912 in products for quintagroup.plonegooglesitemaps/branches/blacklist/quintagroup/plonegooglesitemaps/utilities.py
- Timestamp:
- Oct 22, 2010 8:59:25 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonegooglesitemaps/branches/blacklist/quintagroup/plonegooglesitemaps/utilities.py
r2909 r2912 9 9 def filterOut(self, fdata, fkey, **kwargs): 10 10 """Filter-out fdata list by id in fkey.""" 11 return fdata11 return [b for b in fdata if (b.getId or b.id) != fkey] 12 12 13 13 … … 19 19 def filterOut(self, fdata, fkey, **kwargs): 20 20 """Filter-out fdata list by path in fkey.""" 21 return fdata21 return [b for b in fdata if b.getPath() != fkey]
Note: See TracChangeset
for help on using the changeset viewer.