[lintian] 02/02: Unconditionally flag dh_clean -k
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 20e64cc93a4d64a656f4ce4b5ff466043f98f4ce
Author: Niels Thykier <niels@thykier.net>
Date: Sat Apr 2 18:01:27 2016 +0000
Unconditionally flag dh_clean -k
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/debhelper.pm | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/checks/debhelper.pm b/checks/debhelper.pm
index 65f0862..9f953ef 100644
--- a/checks/debhelper.pm
+++ b/checks/debhelper.pm
@@ -104,12 +104,8 @@ sub run {
$seen_python_helper = 1;
}
- # Don't warn about recently deprecated commands in code that may be
- # optional. It may be there only for backports.
- unless ($maybe_skipping) {
- if ($dhcommand eq 'dh_clean' and m/\s+\-k(?:\s+.*)?$/s) {
- $seendhcleank = 1;
- }
+ if ($dhcommand eq 'dh_clean' and m/\s+\-k(?:\s+.*)?$/s) {
+ $seendhcleank = 1;
}
# if command is passed -n, it does not modify the scripts
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: