diff -r 2266d6d73de3 -r d67cc4fbc3f1 configfile.py --- a/configfile.py Sun Nov 09 19:59:10 2014 +0200 +++ b/configfile.py Mon Nov 10 02:06:06 2014 +0200 @@ -40,6 +40,12 @@ return result + def append_nodelist (self, key): + data = self.get_value (key) + obj = {} + data.append (obj) + return ConfigNode (obj=obj, name=self.keyname (key), parent=self) + def save (self): if self.root != None: self.root.save()