From: Mark Hymers Date: Mon, 25 May 2009 20:37:53 +0000 (+0100) Subject: let's be a bit more clever about this X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=947925a17d8a911f0deb970ecb6ce7a54fa36fab;p=dak let's be a bit more clever about this Signed-off-by: Mark Hymers --- diff --git a/daklib/config.py b/daklib/config.py index f7f270f0..290a837a 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() @@ -78,12 +80,6 @@ class Config(Singleton): def has_key(self, name): return self.Cnf.has_key(name) - def Find(self, *args, **kwargs): - return self.Cnf.Find(*args, **kwargs) - - def FindB(self, *args, **kwargs): - return self.Cnf.FindB(*args, **kwargs) - def __getitem__(self, name): return self.Cnf[name]