From 6be7c79d88f73735ab10b0f0aeefdac68a35bc65 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 4 Apr 2009 15:42:09 +0200 Subject: [PATCH] examine_package docstring "clearup" relations variable after output. Signed-off-by: Joerg Jaspert --- dak/examine_package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dak/examine_package.py b/dak/examine_package.py index abddf5a4..8d97fba0 100755 --- a/dak/examine_package.py +++ b/dak/examine_package.py @@ -61,7 +61,7 @@ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"])) database.init(Cnf, projectB) printed_copyrights = {} -package_relations = {} +package_relations = {} #: Store relations of packages for later output # default is to not output html. use_html = 0 @@ -359,6 +359,7 @@ def output_package_relations (): for relation in package_relations[package]: to_print += "%-15s: (%s) %s\n" % (package, relation, package_relations[package][relation]) + package_relations={} foldable_output("Package relations", "relations", to_print) def output_deb_info(suite, filename, packagename): -- 2.39.2