From: Torsten Werner Date: Fri, 25 Mar 2011 13:08:38 +0000 (+0000) Subject: bugfix X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd6d098b3aeea59276364c2f7da865a56a24c4f1;p=dak bugfix Signed-off-by: Torsten Werner --- diff --git a/daklib/lists.py b/daklib/lists.py index a7cf8685..e7f8bf96 100755 --- a/daklib/lists.py +++ b/daklib/lists.py @@ -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)