mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-15 21:31:07 +00:00
Omit faux packages from the HeidiResult file
We do not need these in the HeidiResult file, so we might as well stop emitting them. Note that faux packages will still appear in other output (like the "uninst" lists/caches). Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
3c0dcf0de3
commit
93757b5650
@ -291,6 +291,9 @@ def write_heidi(filename, sources_t, packages_t,
|
||||
pkgv = pkg.version
|
||||
pkgarch = pkg.architecture or 'all'
|
||||
pkgsec = pkg.section or 'faux'
|
||||
if pkgsec == 'faux' or pkgsec.endswith('/faux'):
|
||||
# Faux package; not really a part of testing
|
||||
continue
|
||||
if pkg.source_version and pkgarch == 'all' and \
|
||||
pkg.source_version != sources_t[pkg.source][VERSION]:
|
||||
# when architectures are marked as "fucked", their binary
|
||||
@ -307,6 +310,9 @@ def write_heidi(filename, sources_t, packages_t,
|
||||
src = sources_t[src_name]
|
||||
srcv = src[VERSION]
|
||||
srcsec = src[SECTION] or 'unknown'
|
||||
if srcsec == 'faux' or srcsec.endswith('/faux'):
|
||||
# Faux package; not really a part of testing
|
||||
continue
|
||||
f.write('%s %s source %s\n' % (src_name, srcv, srcsec))
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user