[Pgp-tools-commit] r769 - in trunk: caff debian

Guilhem Moulin guilhem-guest at moszumanska.debian.org
Fri Feb 20 19:35:13 UTC 2015


Author: guilhem-guest
Date: 2015-02-20 19:35:13 +0000 (Fri, 20 Feb 2015)
New Revision: 769

Modified:
   trunk/caff/caff
   trunk/debian/changelog
Log:
caff: Print {error,warnings,notice,info} lines on STDERR.

Modified: trunk/caff/caff
===================================================================
--- trunk/caff/caff	2015-02-12 18:09:57 UTC (rev 768)
+++ trunk/caff/caff	2015-02-20 19:35:13 UTC (rev 769)
@@ -425,33 +425,33 @@
 #
 sub myerror($$) {
 	my ($exitcode, $line) = @_;
-	print "[ERROR] $line\n";	
+	print STDERR "[ERROR] $line\n";
 	exit $exitcode;
 };
 
 sub mywarn($) {
 	my ($line) = @_;
-	print "[WARN] $line\n";
+	print STDERR "[WARN] $line\n";
 };
 sub notice($) {
 	my ($line) = @_;
-	print "[NOTICE] $line\n";
+	print STDERR "[NOTICE] $line\n";
 };
 sub info($) {
 	my ($line) = @_;
-	print "[INFO] $line\n";
+	print STDERR "[INFO] $line\n";
 };
 sub debug($) {
 	my ($line) = @_;
-	#print "[DEBUG] $line\n";
+	#print STDERR "[DEBUG] $line\n";
 };
 sub trace($) {
 	my ($line) = @_;
-	#print "[trace] $line\n";
+	#print STDERR "[trace] $line\n";
 };
 sub trace2($) {
 	my ($line) = @_;
-	#print "[trace2] $line\n";
+	#print STDERR "[trace2] $line\n";
 };
 
 

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2015-02-12 18:09:57 UTC (rev 768)
+++ trunk/debian/changelog	2015-02-20 19:35:13 UTC (rev 769)
@@ -13,6 +13,7 @@
       the public part of *all* keys found in the secret keyring.  (When not
       pruning the good keys with -u, gpg(1) croaks with exit status 2 when
       there are secret keys without public part.)
+    + Print {error,warnings,notice,info} lines on STDERR.
   * gpgsigs:
     + Add a legend with the different signature types.
     + Mark local signatures as 'L' (formerly they were marked as 'S'), and




More information about the Pgp-tools-commit mailing list