]> err.no Git - dak/commitdiff
use correct function name
authorMark Hymers <mhy@debian.org>
Mon, 26 Oct 2009 17:46:55 +0000 (17:46 +0000)
committerMark Hymers <mhy@debian.org>
Mon, 26 Oct 2009 17:46:55 +0000 (17:46 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/transitions.py

index 9c4e7d8bc7e97010b23d0dc1b21f349e723f2c93..808831b1cd49f66dbc67de49babc5532400256bf 100755 (executable)
@@ -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"])