X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fconfig.py;h=09df17bb06be100a2a753793c5416f3750cf3e30;hb=0dada7c5846e0ae676bbe0b81c1065fe75ca9b86;hp=997a597d0e499e593684efa83b137a75db7f1d3a;hpb=603d8ace7d4f942c999c29556bde38ec2516b9a8;p=dak.git diff --git a/daklib/config.py b/daklib/config.py index 997a597d..09df17bb 100755 --- a/daklib/config.py +++ b/daklib/config.py @@ -71,6 +71,8 @@ class Config(Singleton): self.get = self.Cnf.get self.SubTree = self.Cnf.SubTree self.ValueList = self.Cnf.ValueList + self.Find = self.Cnf.Find + self.FindB = self.Cnf.FindB def _startup(self, *args, **kwargs): self._readconf() @@ -81,3 +83,5 @@ class Config(Singleton): def __getitem__(self, name): return self.Cnf[name] + def __setitem__(self, name, value): + self.Cnf[name] = value