[interchange-cvs] interchange - heins modified lib/Vend/Interpolate.pm
interchange-core@interchange.redhat.com
interchange-core@interchange.redhat.com
Fri Sep 28 18:45:00 2001
User: heins
Date: 2001-09-28 22:44:22 GMT
Modified: lib/Vend Tag: STABLE_4_8-branch Interpolate.pm
Log:
* Fix error caused by empty filter specification.
Revision Changes Path
No revision
No revision
2.9.2.1 +3 -2 interchange/lib/Vend/Interpolate.pm
rev 2.9.2.1, prev_rev 2.9
Index: Interpolate.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Interpolate.pm,v
retrieving revision 2.9
retrieving revision 2.9.2.1
diff -u -r2.9 -r2.9.2.1
--- Interpolate.pm 2001/08/06 16:15:24 2.9
+++ Interpolate.pm 2001/09/28 22:44:22 2.9.2.1
@@ -1,6 +1,6 @@
# Vend::Interpolate - Interpret Interchange tags
#
-# $Id: Interpolate.pm,v 2.9 2001/08/06 16:15:24 heins Exp $
+# $Id: Interpolate.pm,v 2.9.2.1 2001/09/28 22:44:22 mheins Exp $
#
# Copyright (C) 1996-2001 Red Hat, Inc. <interchange@redhat.com>
#
@@ -27,7 +27,7 @@
require Exporter;
@ISA = qw(Exporter);
-$VERSION = substr(q$Revision: 2.9 $, 10);
+$VERSION = substr(q$Revision: 2.9.2.1 $, 10);
@EXPORT = qw (
@@ -618,6 +618,7 @@
my @filters = Text::ParseWords::shellwords($filter);
my @args;
for (@filters) {
+ next unless $_;
@args = ();
if(/%/) {
$value = sprintf($_, $value);