Changeset 1933 in products for quintagroup.canonicalpath/trunk/quintagroup
- Timestamp:
- Mar 17, 2010 8:18:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.canonicalpath/trunk/quintagroup/canonicalpath/adapters.py
r1927 r1933 53 53 self.context._setProperty(PROPERTY_PATH, value, type="string") 54 54 55 canonical_path = property(getCanonicalPath, setCanonicalPath) 55 def delCanonicalPath(self): 56 """ Delete PROPERTY_PATH customization 57 """ 58 if self.context.hasProperty(PROPERTY_PATH): 59 self.context.manage_delProperties(ids=[PROPERTY_PATH,]) 60 61 canonical_path = property(getCanonicalPath, setCanonicalPath, delCanonicalPath) 56 62 57 63 … … 91 97 self.context._setProperty(PROPERTY_LINK, value, type="string") 92 98 93 canonical_link = property(getCanonicalLink, setCanonicalLink) 99 def delCanonicalLink(self): 100 """ Delete PROPERTY_LINK customization 101 """ 102 if self.context.hasProperty(PROPERTY_LINK): 103 self.context.manage_delProperties(ids=[PROPERTY_LINK,]) 94 104 105 canonical_link = property(getCanonicalLink, setCanonicalLink, delCanonicalLink) 106
Note: See TracChangeset
for help on using the changeset viewer.