Package: reportbug Version: 4.12.6 Severity: minor Tags: patch Please add the attached two patches, which slightly reduce unneeded clutter in bug reports.
-- bye, pabs http://wiki.debian.org/PaulWise
From 1d5c82355f1367c5a63fc954708b025898257479 Mon Sep 17 00:00:00 2001 From: Paul Wise <p...@debian.org> Date: Mon, 31 Jan 2011 11:14:38 +0800 Subject: [PATCH 1/2] Don't report Depends/Recommends/Suggests if there are none. --- reportbug/utils.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/reportbug/utils.py b/reportbug/utils.py index cb64de7..1f16ab9 100644 --- a/reportbug/utils.py +++ b/reportbug/utils.py @@ -614,7 +614,7 @@ def packages_providing(package): def get_dependency_info(package, depends, rel="depends on"): if not depends: - return ('\n%s %s no packages.\n' % (package, rel)) + return '' dependencies = [] for dep in depends: -- 1.7.2.3
From caf3c942731f0f0a05eb5a90cc9253d43d4a5984 Mon Sep 17 00:00:00 2001 From: Paul Wise <p...@debian.org> Date: Mon, 31 Jan 2011 11:22:19 +0800 Subject: [PATCH 2/2] Don't report debconf information if there is none. --- bin/reportbug | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/bin/reportbug b/bin/reportbug index b659b23..769e60b 100755 --- a/bin/reportbug +++ b/bin/reportbug @@ -1782,8 +1782,6 @@ For more details, please see: http://www.debian.org/devel/wnpp/''') conftext += u'\n-- debconf information:\n%s\n' % output else: conftext += u'\n-- debconf information excluded\n' - else: - conftext += u'\n-- no debconf information\n' ewrite('\n') prompted = False -- 1.7.2.3
signature.asc
Description: This is a digitally signed message part