]> git.decadent.org.uk Git - dak.git/commitdiff
pass session to get_id
authorMark Hymers <mhy@debian.org>
Mon, 26 Oct 2009 10:40:55 +0000 (10:40 +0000)
committerMark Hymers <mhy@debian.org>
Mon, 26 Oct 2009 10:40:55 +0000 (10:40 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/control_suite.py

index a2cb9f375976af04cc246ab22c46c6b13e64dd89..1d5eb7accc227d6dcfe34de3287686a987b48b1f 100755 (executable)
@@ -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