]> err.no Git - dak/commitdiff
let's be a bit more clever about this
authorMark Hymers <mhy@debian.org>
Mon, 25 May 2009 20:37:53 +0000 (21:37 +0100)
committerMark Hymers <mhy@debian.org>
Sun, 9 Aug 2009 15:49:25 +0000 (16:49 +0100)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/config.py

index f7f270f085e57416c8f29229017d9358bb0799da..290a837a5e10d7f03d91eeb8f0623048296c97cf 100755 (executable)
@@ -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]