[interchange-cvs] interchange - racke modified 2 files

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Mon Sep 13 08:42:19 EDT 2004


User:      racke
Date:      2004-09-13 12:42:19 GMT
Modified:  .        WHATSNEW-5.3
Modified:  lib/Vend/Table Common.pm
Log:
Add table to [import] error message.

Revision  Changes    Path
2.12      +2 -0      interchange/WHATSNEW-5.3


rev 2.12, prev_rev 2.11
Index: WHATSNEW-5.3
===================================================================
RCS file: /anon_cvs/repository/interchange/WHATSNEW-5.3,v
retrieving revision 2.11
retrieving revision 2.12
diff -u -r2.11 -r2.12
--- WHATSNEW-5.3	13 Sep 2004 12:41:08 -0000	2.11
+++ WHATSNEW-5.3	13 Sep 2004 12:42:18 -0000	2.12
@@ -54,6 +54,8 @@
 * Fix bug that prevented multiple-field searches from working, e.g.
   sf=15:16:17:18.
 
+* Add table to [import] error message.
+
 UI
 --
 



2.37      +3 -3      interchange/lib/Vend/Table/Common.pm


rev 2.37, prev_rev 2.36
Index: Common.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Table/Common.pm,v
retrieving revision 2.36
retrieving revision 2.37
diff -u -r2.36 -r2.37
--- Common.pm	23 Jul 2004 03:03:39 -0000	2.36
+++ Common.pm	13 Sep 2004 12:42:18 -0000	2.37
@@ -1,6 +1,6 @@
 # Vend::Table::Common - Common access methods for Interchange databases
 #
-# $Id: Common.pm,v 2.36 2004/07/23 03:03:39 mheins Exp $
+# $Id: Common.pm,v 2.37 2004/09/13 12:42:18 racke Exp $
 #
 # Copyright (C) 2002-2003 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -23,7 +23,7 @@
 # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA  02111-1307  USA.
 
-$VERSION = substr(q$Revision: 2.36 $, 10);
+$VERSION = substr(q$Revision: 2.37 $, 10);
 use strict;
 
 package Vend::Table::Common;
@@ -1364,7 +1364,7 @@
 );
 
     eval $format{$format};
-	die errmsg("%s import failed: %s", $options->{name}, $@) if $@;
+	die errmsg("%s import into %s failed: %s", $options->{name}, $options->{table}, $@) if $@;
     if($realfile) {
 		close IN
 			or die errmsg("%s %s: %s\n", errmsg("close"), $infile, $!);








More information about the interchange-cvs mailing list