From f1b378ae2fa431750b641bacad2cac26a0411e53 Mon Sep 17 00:00:00 2001 From: Mario Domenech Goulart Date: Mon, 8 Feb 2010 16:56:17 -0200 Subject: [PATCH] init_db.py: fix for `do_priority' Look for the right priority from the config file Priority subtree.. Signed-off-by: Mario Domenech Goulart --- dak/init_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/init_db.py b/dak/init_db.py index daccddef..169f3005 100755 --- a/dak/init_db.py +++ b/dak/init_db.py @@ -174,7 +174,7 @@ class InitDB(object): for priority in self.Cnf.SubTree("Priority").List(): p = Priority() p.priority = priority - p.level = self.Cnf.get("Priority::%s", "0") + p.level = self.Cnf.get("Priority::" + priority, "0") s.add(p) s.commit() -- 2.39.5