[interchange-cvs] interchange - racke modified lib/Vend/Config.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Mon Jan 26 04:18:46 EST 2004


User:      racke
Date:      2004-01-26 09:18:46 GMT
Modified:  lib/Vend Config.pm
Log:
display the parsing error message instead of the locale settings

Revision  Changes    Path
2.131     +3 -3      interchange/lib/Vend/Config.pm


rev 2.131, prev_rev 2.130
Index: Config.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Config.pm,v
retrieving revision 2.130
retrieving revision 2.131
diff -u -r2.130 -r2.131
--- Config.pm	11 Jan 2004 15:06:00 -0000	2.130
+++ Config.pm	26 Jan 2004 09:18:46 -0000	2.131
@@ -1,6 +1,6 @@
 # Vend::Config - Configure Interchange
 #
-# $Id: Config.pm,v 2.130 2004/01/11 15:06:00 mheins Exp $
+# $Id: Config.pm,v 2.131 2004/01/26 09:18:46 racke Exp $
 #
 # Copyright (C) 2002-2003 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -48,7 +48,7 @@
 use Vend::File;
 use Vend::Data;
 
-$VERSION = substr(q$Revision: 2.130 $, 10);
+$VERSION = substr(q$Revision: 2.131 $, 10);
 
 my %CDname;
 my %CPname;
@@ -2209,7 +2209,7 @@
 		my($sethash);
 		if ($eval) {
 			$sethash = $safe->reval($settings)
-				or config_warn("bad Locale setting in %s: %s", $name,$settings),
+				or config_warn("bad Locale setting in %s: %s", $name, $@),
 						$sethash = {};
 		}
 		else {








More information about the interchange-cvs mailing list