This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=83b1500011a0656263afbdeffffca182758ef061

commit 83b1500011a0656263afbdeffffca182758ef061
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Nov 16 00:38:37 2019 +0100

    Dpkg::Checksums: Remove obsolete 'program' property warning
---
 debian/changelog          |  1 +
 scripts/Dpkg/Checksums.pm | 10 +++++-----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a87e747ca..7a9dd2981 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -67,6 +67,7 @@ dpkg (1.20.0) UNRELEASED; urgency=medium
     - Dpkg::Index: Change default value for unique_tuple_key to 1.
     - Dpkg::Version: Remove deprecation warning from semantic change in
       bool overload.
+    - Dpkg::Checksums: Remove obsolete 'program' property warning.
   * Documentation:
     - man: Fix uncommon wording constructs.
     - man: Use a minus sign for a literal string.
diff --git a/scripts/Dpkg/Checksums.pm b/scripts/Dpkg/Checksums.pm
index 1237e8b89..9b7316b07 100644
--- a/scripts/Dpkg/Checksums.pm
+++ b/scripts/Dpkg/Checksums.pm
@@ -20,7 +20,7 @@ package Dpkg::Checksums;
 use strict;
 use warnings;
 
-our $VERSION = '1.03';
+our $VERSION = '1.04';
 our @EXPORT = qw(
     checksums_is_supported
     checksums_get_list
@@ -106,10 +106,6 @@ whether the checksum algorithm is considered 
cryptographically strong.
 sub checksums_get_property($$) {
     my ($alg, $property) = @_;
 
-    if ($property eq 'program') {
-        warnings::warnif('deprecated', 'obsolete checksums program property');
-    }
-
     return unless checksums_is_supported($alg);
     return $CHECKSUMS->{lc($alg)}{$property};
 }
@@ -400,6 +396,10 @@ sub export_to_control {
 
 =head1 CHANGES
 
+=head2 Version 1.04 (dpkg 1.20.0)
+
+Remove warning: For obsolete property 'program'.
+
 =head2 Version 1.03 (dpkg 1.18.5)
 
 New property: Add new 'strong' property.

-- 
Dpkg.Org's dpkg

Reply via email to