[interchange-cvs] interchange - kwalsh modified lib/Vend/Util.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Mon Oct 9 18:09:53 EDT 2006
User: kwalsh
Date: 2006-10-09 22:09:52 GMT
Modified: lib/Vend Util.pm
Log:
* Silently ignore invalid tables in the PageTables list. Could
be changed to noisily ignore them, if someone would prefer it to
do that.
Revision Changes Path
2.97 +4 -2 interchange/lib/Vend/Util.pm
rev 2.97, prev_rev 2.96
Index: Util.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Util.pm,v
retrieving revision 2.96
retrieving revision 2.97
diff -u -r2.96 -r2.97
--- Util.pm 30 Aug 2006 18:53:44 -0000 2.96
+++ Util.pm 9 Oct 2006 22:09:52 -0000 2.97
@@ -1,6 +1,6 @@
# Vend::Util - Interchange utility functions
#
-# $Id: Util.pm,v 2.96 2006/08/30 18:53:44 mheins Exp $
+# $Id: Util.pm,v 2.97 2006/10/09 22:09:52 kwalsh Exp $
#
# Copyright (C) 2002-2005 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -88,7 +88,7 @@
use Vend::File;
use subs qw(logError logGlobal);
use vars qw($VERSION @EXPORT @EXPORT_OK);
-$VERSION = substr(q$Revision: 2.96 $, 10);
+$VERSION = substr(q$Revision: 2.97 $, 10);
my $Eval_routine;
my $Eval_routine_file;
@@ -1124,6 +1124,8 @@
my $field = $Vend::Cfg->{PageTableMap}{page_text};
foreach my $t (@{$Vend::Cfg->{PageTables}}) {
my $db = Vend::Data::database_exists_ref($t);
+ next unless $db;
+
if($teleport) {
$file = teleport_name($file, $teleport, $t);
}
More information about the interchange-cvs
mailing list