72:2266d6d73de3 | 73:d67cc4fbc3f1 |
---|---|
38 node = ConfigNode (obj=entry, name=self.keyname (key), parent=self) | 38 node = ConfigNode (obj=entry, name=self.keyname (key), parent=self) |
39 result.append (node) | 39 result.append (node) |
40 | 40 |
41 return result | 41 return result |
42 | 42 |
43 def append_nodelist (self, key): | |
44 data = self.get_value (key) | |
45 obj = {} | |
46 data.append (obj) | |
47 return ConfigNode (obj=obj, name=self.keyname (key), parent=self) | |
48 | |
43 def save (self): | 49 def save (self): |
44 if self.root != None: | 50 if self.root != None: |
45 self.root.save() | 51 self.root.save() |
46 return | 52 return |
47 | 53 |