[lintian] 01/02: checks/fields.pm: Tidy emission of 'no-strong-digests-in-dsc' tag.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 8833242c68678506425692094663f2d26fc42f64
Author: Chris Lamb <lamby@debian.org>
Date: Sun Jan 28 14:44:42 2018 +1100
checks/fields.pm: Tidy emission of 'no-strong-digests-in-dsc' tag.
---
checks/fields.pm | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/checks/fields.pm b/checks/fields.pm
index cf341c9..1e8b950 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -1356,11 +1356,8 @@ sub run {
#---- Checksums
- if ($type eq 'source') {
- if (!$info->field('checksums-sha256')) {
- tag 'no-strong-digests-in-dsc';
- }
- }
+ tag 'no-strong-digests-in-dsc'
+ if $type eq 'source' && !$info->field('checksums-sha256');
#----- Field checks (without checking the value)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: