From 947925a17d8a911f0deb970ecb6ce7a54fa36fab Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Mon, 25 May 2009 21:37:53 +0100 Subject: [PATCH] let's be a bit more clever about this Signed-off-by: Mark Hymers --- daklib/config.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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] -- 2.39.5