Changeset 2105 in products
- Timestamp:
- Apr 12, 2010 1:55:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.canonicalpath/trunk/quintagroup/canonicalpath/adapters.py
r2103 r2105 68 68 """Adapts base content to canonical path. 69 69 """ 70 implements(ICanonical Link)70 implements(ICanonicalPath) 71 71 72 72 prop = PROPERTY_PATH … … 75 75 return '/'+'/'.join(self.purl.getRelativeContentPath(self.context)) 76 76 77 canonical_path = property(getProp, setProp, delProp) 77 canonical_path = property(DefaultCanonicalAdapter.getProp, 78 DefaultCanonicalAdapter.setProp, 79 DefaultCanonicalAdapter.delProp) 78 80 79 81 … … 88 90 return self.context.absolute_url() 89 91 90 canonical_link = property(getProp, setProp, delProp) 92 canonical_link = property(DefaultCanonicalAdapter.getProp, 93 DefaultCanonicalAdapter.setProp, 94 DefaultCanonicalAdapter.delProp)
Note: See TracChangeset
for help on using the changeset viewer.