From: Mark Hymers Date: Mon, 26 Oct 2009 10:40:55 +0000 (+0000) Subject: pass session to get_id X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=50f8efa1d06c180dcf6edbaa6ea02a24d99a5100;p=dak.git pass session to get_id Signed-off-by: Mark Hymers --- diff --git a/dak/control_suite.py b/dak/control_suite.py index a2cb9f37..1d5eb7ac 100755 --- a/dak/control_suite.py +++ b/dak/control_suite.py @@ -142,7 +142,7 @@ def set_suite(file, suite, session): for key in desired.keys(): if not current.has_key(key): (package, version, architecture) = key.split() - pkid = get_id (package, version, architecture) + pkid = get_id (package, version, architecture, session) if not pkid: continue if architecture == "source": @@ -175,7 +175,7 @@ def process_file(file, suite, action, session): (package, version, architecture) = split_line - pkid = get_id(package, version, architecture) + pkid = get_id(package, version, architecture, session) if not pkid: continue