[Reproducible-commits] [dpkg] 78/105: Dpkg::ErrorHandling: Add new notice() reporting function

Niko Tyni ntyni at moszumanska.debian.org
Mon May 2 13:49:55 UTC 2016


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

ntyni pushed a commit to branch ntyni/reproducible_builds
in repository dpkg.

commit d2a1a297eed6a9f90d400c7314ba0d59441e011f
Author: Guillem Jover <guillem at debian.org>
Date:   Sun Apr 3 13:36:46 2016 +0200

    Dpkg::ErrorHandling: Add new notice() reporting function
---
 scripts/Dpkg/ErrorHandling.pm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/scripts/Dpkg/ErrorHandling.pm b/scripts/Dpkg/ErrorHandling.pm
index ce01d5e..7eef167 100644
--- a/scripts/Dpkg/ErrorHandling.pm
+++ b/scripts/Dpkg/ErrorHandling.pm
@@ -23,6 +23,7 @@ our @EXPORT_OK = qw(
 our @EXPORT = qw(
     report_options
     info
+    notice
     warning
     error
     errormsg
@@ -64,6 +65,11 @@ sub info($;@)
     print { $info_fh } report(g_('info'), @_) if (!$quiet_warnings);
 }
 
+sub notice
+{
+    warn report(g_('notice'), @_) if not $quiet_warnings;
+}
+
 sub warning($;@)
 {
     warn report(g_('warning'), @_) if (!$quiet_warnings);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list