From: Joerg Jaspert Date: Mon, 26 Oct 2009 17:54:00 +0000 (+0100) Subject: Merge commit 'mhy/master' into merge X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=96dc94f0c4c645e26b545bc724075063da28c006;hp=b1a0b8fb0fe026d8f914c1db3b86e489514b1b9e;p=dak.git Merge commit 'mhy/master' into merge * commit 'mhy/master': use correct function name Signed-off-by: Joerg Jaspert --- 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"])