From a505b3117327b9b8fbcd587b65f332efe8a7cd07 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 3 Oct 2010 17:29:32 +0200 Subject: [PATCH] [Mark] Fix for the _setup_routines() Signed-off-by: Joerg Jaspert --- daklib/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/config.py b/daklib/config.py index 932df6b5..b35ed9a9 100755 --- a/daklib/config.py +++ b/daklib/config.py @@ -111,7 +111,7 @@ class Config(object): ('signingkeyids', '', str), ('exportpath', '', str) ]: - setattr(self, 'get_%s' % field[0], lambda x=None: self.get_db_value(field[0], field[1], field[2])) + setattr(self, 'get_%s' % field[0], lambda s=None, x=field[0], y=field[1], z=field[2]: self.get_db_value(x, y, z)) setattr(Config, '%s' % field[0], property(fget=getattr(self, 'get_%s' % field[0]))) def get_defaultsuite(self): -- 2.39.5