[debhelper-devel] [debhelper] 03/03: Dh_Lib: Remove _error_exitcode
Niels Thykier
nthykier at moszumanska.debian.org
Wed May 20 20:20:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit c6c37776c1e4a7feea7c9182adf400b9d2146b2c
Author: Niels Thykier <niels at thykier.net>
Date: Wed May 20 22:20:05 2015 +0200
Dh_Lib: Remove _error_exitcode
Turns out there were no consumers left after all.
Signed-off-by: Niels Thykier <niels at thykier.net>
---
Debian/Debhelper/Dh_Lib.pm | 7 -------
debian/changelog | 4 +---
2 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index 2285c2d..bba5a1b 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -263,13 +263,6 @@ sub complex_doit {
}
}
-sub _error_exitcode {
- # A little "reminder" warning to a dh-like tool that have abused
- # this internal subroutine...
- warning('[Deprecation] The internal sub _error_exitcode will be removed - please stop using it');
- error_exitcode(@_);
-}
-
sub error_exitcode {
my $command=shift;
if ($? == -1) {
diff --git a/debian/changelog b/debian/changelog
index 6b066a4..4dbb16e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,9 +4,7 @@ debhelper (9.20150508) UNRELEASED; urgency=medium
provide doit_in_{build,source}dir_noerror methods.
(Closes: #785811)
* Dh_Lib.pm: Promote error_exitcode to a regular exported
- subroutine (from an internal one). For backwards
- compatibility the old _error_exitcode will be provided
- until a known external is updated.
+ subroutine (from an internal one).
-- Niels Thykier <niels at thykier.net> Wed, 20 May 2015 21:53:08 +0200
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list