From: Joerg Jaspert Date: Sat, 4 Apr 2009 13:23:18 +0000 (+0200) Subject: examine_package X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=1d62c1f4e49099779e91fbc8cf56d41304869c8f;p=dak.git examine_package one more parameter to output_deb_info, the packagename. Signed-off-by: Joerg Jaspert --- diff --git a/dak/examine_package.py b/dak/examine_package.py index ca177adc..5c80cf05 100755 --- a/dak/examine_package.py +++ b/dak/examine_package.py @@ -344,7 +344,7 @@ def create_depends_string (suite, depends_tree): comma_count += 1 return result -def output_deb_info(suite, filename): +def output_deb_info(suite, filename, packagename): (control, control_keys, section, depends, recommends, arch, maintainer) = read_control(filename) if control == '': @@ -426,7 +426,7 @@ def check_deb (suite, deb_filename): foldable_output("control file for %s" % (filename), "binary-%s-control"%packagename, - output_deb_info(suite, deb_filename), norow=True) + output_deb_info(suite, deb_filename, packagename), norow=True) if is_a_udeb: foldable_output("skipping lintian check for udeb", "binary-%s-lintian"%packagename,