Signed-off-by: Torsten Werner <twerner@debian.org>
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, binarytype = 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)