From 782339bc8e1a2e17b9e6b3009b22b5efa74218f7 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Mon, 26 Oct 2009 17:46:55 +0000 Subject: [PATCH] use correct function name Signed-off-by: Mark Hymers --- dak/transitions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dak/transitions.py b/dak/transitions.py index 9c4e7d8b..808831b1 100755 --- a/dak/transitions.py +++ b/dak/transitions.py @@ -524,13 +524,16 @@ def transition_info(transitions): @type transitions: dict @param transitions: defined transitions """ + + session = DBConn().session() + for trans in transitions: t = transitions[trans] source = t["source"] expected = t["new"] # Will be empty list if nothing is in testing. - sources = get_suite_version(source, "testing") + sources = get_source_in_suite(source, "testing", session) print get_info(trans, source, expected, t["rm"], t["reason"], t["packages"]) -- 2.39.2