Changes between Version 7 and Version 8 of TracDev/ConfigApi
- Timestamp:
- Jan 8, 2011, 2:01:52 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/ConfigApi
v7 v8 135 135 }}} 136 136 137 ''Note:'' Currently (as with Trac ''0.12.1'') you can't ''set'' an option's value this way (e.g. with `self.my_option = new_option_value`). This will raise an !AttributeError, but there's ticket #9967 that aims to fix this problem. 138 137 139 === Why does this work? === 138 140 So, how can one define an option as `ListOption` but end up with a list? This works because there are two ways to access the option: as class variable or as instance variable.