Changeset 557
- Timestamp:
- 06/12/03 15:34:15 (5 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/RBFoundation/RBFoundation/Objects/Relations.py
r556 r557 170 170 class RelationsBag(RelationsCollection): 171 171 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 #~ Constants / Variables / Etc. 173 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 175 _addDefIndex = None 176 177 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 178 #~ Public Methods 173 179 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 212 218 213 219 def add(self, *relations, **kw): 214 atIndex = kw.get('atIndex', None)220 atIndex = kw.get('atIndex', self._addDefIndex) 215 221 relations = _flattenlist(relations) 216 222 self.OnModifying(self, relations)
