X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Flists.py;h=320184e3934d19f6253bc713fe06da0e8f84cda0;hb=7634c6b12df2eaf14e4b07e27222c87cb740268d;hp=a7cf868579ef65d3e7d23168c5f32bcbd6300fae;hpb=a5a05713abef203c9dee7c8626acd3a27980a774;p=dak.git diff --git a/daklib/lists.py b/daklib/lists.py index a7cf8685..320184e3 100755 --- a/daklib/lists.py +++ b/daklib/lists.py @@ -64,7 +64,8 @@ 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.clone(session).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)