]> git.decadent.org.uk Git - dak.git/commitdiff
bugfix
authorTorsten Werner <twerner@debian.org>
Fri, 25 Mar 2011 13:08:38 +0000 (13:08 +0000)
committerTorsten Werner <twerner@debian.org>
Fri, 25 Mar 2011 13:08:38 +0000 (13:08 +0000)
Signed-off-by: Torsten Werner <twerner@debian.org>
daklib/lists.py

index a7cf868579ef65d3e7d23168c5f32bcbd6300fae..e7f8bf968c442f3f094285d00a23566d310bb031 100755 (executable)
@@ -64,7 +64,7 @@ def getArchAll(suite, component, architecture, type, session, timestamp = None):
     full pathname to the u(deb) file. See function writeAllList() in
     dak/generate_filelist.py for an example that uses this function.
     '''
-    query = suite.binaries.filter_by(architecture = architecture, type = type)
+    query = suite.binaries.filter_by(architecture = architecture, binarytype = type)
     if timestamp is not None:
         extra_cond = 'extract(epoch from bin_associations.created) > %d' % timestamp
         query = query.filter(extra_cond)