[interchange-cvs] interchange - heins modified lib/Vend/Util.pm
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Sat Jul 20 15:36:02 2002
User: heins
Date: 2002-07-20 19:35:11 GMT
Modified: lib/Vend Util.pm
Log:
* Fix bad previous patch.
Revision Changes Path
2.30 +3 -3 interchange/lib/Vend/Util.pm
rev 2.30, prev_rev 2.29
Index: Util.pm
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /anon_cvs/repository/interchange/lib/Vend/Util.pm,v
retrieving revision 2.29
retrieving revision 2.30
diff -u -r2.29 -r2.30
--- Util.pm 20 Jul 2002 18:59:33 -0000 2.29
+++ Util.pm 20 Jul 2002 19:35:11 -0000 2.30
@@ -1,6 +1,6 @@
# Vend::Util - Interchange utility functions
#
-# $Id: Util.pm,v 2.29 2002/07/20 18:59:33 mheins Exp $
+# $Id: Util.pm,v 2.30 2002/07/20 19:35:11 mheins Exp $
#=20
# Copyright (C) 1996-2002 Red Hat, Inc. <interchange@redhat.com>
#
@@ -82,7 +82,7 @@
use Safe;
use subs qw(logError logGlobal);
use vars qw($VERSION @EXPORT @EXPORT_OK);
-$VERSION =3D substr(q$Revision: 2.29 $, 10);
+$VERSION =3D substr(q$Revision: 2.30 $, 10);
=20
BEGIN {
eval {
@@ -713,7 +713,7 @@
=20
$file =3D ">>$file" unless $file =3D~ /^[|>]/;
=20
- my $msg =3D tabbed @msg if @msg > 1;
+ my $msg =3D @msg > 1 ? tabbed(@msg) : $msg[0];
=20
eval {
unless($file =3D~ s/^[|]\s*//) {