[interchange-cvs] interchange - heins modified lib/Vend/Ship.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Fri Feb 3 10:34:32 EST 2006
User: heins
Date: 2006-02-03 15:34:32 GMT
Modified: lib/Vend Ship.pm
Log:
* Make log message manageable with ErrorDestination.
* Allow a "quiet" shipmode that won't log missing areas.
Revision Changes Path
2.15 +5 -2 interchange/lib/Vend/Ship.pm
rev 2.15, prev_rev 2.14
Index: Ship.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Ship.pm,v
retrieving revision 2.14
retrieving revision 2.15
diff -u -r2.14 -r2.15
--- Ship.pm 18 Jan 2006 17:47:14 -0000 2.14
+++ Ship.pm 3 Feb 2006 15:34:32 -0000 2.15
@@ -1,6 +1,6 @@
# Vend::Ship - Interchange shipping code
#
-# $Id: Ship.pm,v 2.14 2006/01/18 17:47:14 mheins Exp $
+# $Id: Ship.pm,v 2.15 2006/02/03 15:34:32 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