Changeset 3399 in products for quintagroup.plonegooglesitemaps/branches/1.7.1/quintagroup/plonegooglesitemaps/browser/utils.py
- Timestamp:
- Mar 30, 2012 12:51:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonegooglesitemaps/branches/1.7.1/quintagroup/plonegooglesitemaps/browser/utils.py
r3163 r3399 25 25 for ob in objects: 26 26 url = _marker 27 if ob.has_key('canonical_link'):27 if hasattr(ob, 'canonical_link'): 28 28 url = ob.canonical_link 29 29 if url in [Missing_Value, _marker]:
Note: See TracChangeset
for help on using the changeset viewer.