[interchange-cvs] interchange - heins modified lib/Vend/Util.pm

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Sat Jul 20 15:00:02 2002


User:      heins
Date:      2002-07-20 18:59:33 GMT
Modified:  lib/Vend Util.pm
Log:
* Avoid running stupid MV1 legacy routine unless necessary....

Revision  Changes    Path
2.29      +3 -3      interchange/lib/Vend/Util.pm


rev 2.29, prev_rev 2.28
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.28
retrieving revision 2.29
diff -u -r2.28 -r2.29
--- Util.pm	3 Jul 2002 05:16:42 -0000	2.28
+++ Util.pm	20 Jul 2002 18:59:33 -0000	2.29
@@ -1,6 +1,6 @@
 # Vend::Util - Interchange utility functions
 #
-# $Id: Util.pm,v 2.28 2002/07/03 05:16:42 mheins Exp $
+# $Id: Util.pm,v 2.29 2002/07/20 18:59:33 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.28 $, 10);
+$VERSION =3D substr(q$Revision: 2.29 $, 10);
=20
 BEGIN {
 	eval {
@@ -713,7 +713,7 @@
=20
 	$file =3D ">>$file" unless $file =3D~ /^[|>]/;
=20
-	my $msg =3D tabbed @msg;
+	my $msg =3D tabbed @msg if @msg > 1;
=20
     eval {
 		unless($file =3D~ s/^[|]\s*//) {