X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fexamine_package.py;h=9448724e164f22ad4c31a4e40819a2919b76ea90;hb=1e1457bde3318c6605b4c97d4299803fdaf8e774;hp=abddf5a44bed3cd762f1786ac971f3ed5dedd87b;hpb=1d9559a7fb9fe48c52e99d5a8b9e84a6f3517ae2;p=dak.git diff --git a/dak/examine_package.py b/dak/examine_package.py index abddf5a4..9448724e 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.clear() foldable_output("Package relations", "relations", to_print) def output_deb_info(suite, filename, packagename):