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=2adeecad3d72ccfb46ed39278c6b1831d8dbad64

commit 2adeecad3d72ccfb46ed39278c6b1831d8dbad64
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Nov 16 00:30:40 2019 +0100

    Dpkg::Exit: Hide internal lowercase @handlers variable
    
    Bump module version to 2.00.
---
 debian/changelog     |  1 +
 scripts/Dpkg/Exit.pm | 11 ++++++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bef7ecc95..60865b3b8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -58,6 +58,7 @@ dpkg (1.20.0) UNRELEASED; urgency=medium
       $default_compression, $default_compression_level and
       $compression_re_file_ext.
     - Dpkg::Deps::KnownFacts: Remove obsolete check_package() method.
+    - Dpkg::Exit: Hide internal lowercase @handlers variable.
   * Documentation:
     - man: Fix uncommon wording constructs.
     - man: Use a minus sign for a literal string.
diff --git a/scripts/Dpkg/Exit.pm b/scripts/Dpkg/Exit.pm
index 5e513b496..fb51a3abf 100644
--- a/scripts/Dpkg/Exit.pm
+++ b/scripts/Dpkg/Exit.pm
@@ -19,7 +19,7 @@ package Dpkg::Exit;
 use strict;
 use warnings;
 
-our $VERSION = '1.01';
+our $VERSION = '2.00';
 our @EXPORT_OK = qw(
     push_exit_handler
     pop_exit_handler
@@ -28,10 +28,7 @@ our @EXPORT_OK = qw(
 
 use Exporter qw(import);
 
-# XXX: Backwards compatibility, stop exporting on VERSION 2.00.
-## no critic (Variables::ProhibitPackageVars)
-our @handlers = ();
-## use critic
+my @handlers = ();
 
 =encoding utf8
 
@@ -91,6 +88,10 @@ $SIG{QUIT} = \&_exit_handler;
 
 =head1 CHANGES
 
+=head2 Version 2.00 (dpkg 1.20.0)
+
+Hide variable: @handlers.
+
 =head2 Version 1.01 (dpkg 1.17.2)
 
 New functions: push_exit_handler(), pop_exit_handler(), run_exit_handlers()

-- 
Dpkg.Org's dpkg

Reply via email to