7 Aug
2001
7 Aug
'01
12:25 p.m.
Hopefully a simple answer to this. I am using an external method to change aquired properties, eg, to increment an integer property acquired from somewhere. The problem is to persist this. It is easy enough to find the aquired property, eg: self.aquired_property, and then of course to change it. But to make this persist, the only way I found of doing this was to write a recursive function that went through each aquisition wrapper asking if this unwrapped level had the property. If it did I would set self._p_changed=1 on the object that owned it and all would be fine, the update to the property would persist. Is there any more elegane method for updating an aquired property like this that also forces it to persist? regards Matt
9031
Age (days ago)
9031
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matt