+2008-08-07 Joerg Jaspert <joerg@debian.org>
+
+ * 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.
+
+ * dak/make_suite_file_list.py (main): Fix a bug that has been
+ there for ages, but "just" never triggered.
+
2008-08-07 Stephen Gran <sgran@debian.org>
* Drop use of exec to eval variable interpolation
f.close()
else:
- warn("No wanna-build dump file for architecture %s", architecture)
+ utils.warn("No wanna-build dump file for architecture %s", architecture)
return ret
################################################################################
sys.stderr.write("Gunzip invocation failed!\n%s\n" % (output))
sys.exit(result)
- nfu_packages.setdefault(architecture,[])
- nfu_entries = parse_nfu(architecture)
+ if "nfu" in checks:
+ nfu_packages.setdefault(architecture,[])
+ nfu_entries = parse_nfu(architecture)
packages = utils.open_file(temp_filename)
Packages = apt_pkg.ParseTagFile(packages)
('n', "no-delete", "Make-Suite-File-List::Options::No-Delete"),
('f', "force", "Make-Suite-File-List::Options::Force"),
('s', "suite", "Make-Suite-File-List::Options::Suite", "HasArg")]
- for i in ["architecture", "component", "help", "no-delete", "suite", "force-touch" ]:
+ for i in ["architecture", "component", "help", "no-delete", "suite", "force" ]:
if not Cnf.has_key("Make-Suite-File-List::Options::%s" % (i)):
Cnf["Make-Suite-File-List::Options::%s" % (i)] = ""
apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv)