[interchange-cvs] interchange - heins modified lib/Vend/Ship.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Fri Feb 3 10:35:36 EST 2006


User:      heins
Date:      2006-02-03 15:35:36 GMT
Modified:  lib/Vend Tag: STABLE_5_4-branch Ship.pm
Log:
* Make log message manageable with ErrorDestination.

* Allow a "quiet" shipmode that won't log missing areas.

Revision  Changes    Path
No                   revision



No                   revision



2.13.2.2  +5 -2      interchange/lib/Vend/Ship.pm


rev 2.13.2.2, prev_rev 2.13.2.1
Index: Ship.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Ship.pm,v
retrieving revision 2.13.2.1
retrieving revision 2.13.2.2
diff -u -r2.13.2.1 -r2.13.2.2
--- Ship.pm	18 Jan 2006 17:48:17 -0000	2.13.2.1
+++ Ship.pm	3 Feb 2006 15:35:36 -0000	2.13.2.2
@@ -1,6 +1,6 @@
 # Vend::Ship - Interchange shipping code
 # 
-# $Id: Ship.pm,v 2.13.2.1 2006/01/18 17:48:17 mheins Exp $
+# $Id: Ship.pm,v 2.13.2.2 2006/02/03 15:35:36 mheins Exp $
 #
 # Copyright (C) 2002-2005 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -308,6 +308,8 @@
 				my @common = qw/
 							mult_factor				
 							str_length				
+							eas
+							quiet
 							zone_data
 							zone_file				
 							zone_name				
@@ -1128,7 +1130,8 @@
 	}
 
 	unless (defined $point) {
-		logError("Zone '$code' lookup failed, type '$type' not found");
+		logError("Zone '%s' lookup failed, type '%s' not found", $code, $type)
+			unless $zref->{quiet};
 		return undef;
 	}
 








More information about the interchange-cvs mailing list