* dak/cruft_report.py (parse_nfu): call utils.warn instead of warn
(main): Only do the nfu stuff if nfu is a check we want to run
later.
+ (main): And another place where we dont want to do nfu foo unless
+ we need nfu
* dak/make_suite_file_list.py (main): Fix a bug that has been
there for ages, but "just" never triggered.
duplicate_bins.setdefault(key, [])
if package not in duplicate_bins[key]:
duplicate_bins[key].append(package)
- if package in nfu_entries and \
- version != source_versions[source]: # only suggest to remove out-of-date packages
- nfu_packages[architecture].append((package,version,source_versions[source]))
+ if "nfu" in checks:
+ if package in nfu_entries and \
+ version != source_versions[source]: # only suggest to remove out-of-date packages
+ nfu_packages[architecture].append((package,version,source_versions[source]))
packages.close()
os.unlink(temp_filename)