diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-09-09 14:54:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-09-09 14:54:52 +0000 |
commit | ad6cb8f0d2ffa516fb95a657324c2cb2dba805bd (patch) | |
tree | 2d091d82fd221491458d643781c62f27df6cbc4d /MDK | |
parent | 47a02764cb8409fe0ace3dc31eb592db546bcef9 (diff) | |
download | perl-MDK-Common-ad6cb8f0d2ffa516fb95a657324c2cb2dba805bd.tar perl-MDK-Common-ad6cb8f0d2ffa516fb95a657324c2cb2dba805bd.tar.gz perl-MDK-Common-ad6cb8f0d2ffa516fb95a657324c2cb2dba805bd.tar.bz2 perl-MDK-Common-ad6cb8f0d2ffa516fb95a657324c2cb2dba805bd.tar.xz perl-MDK-Common-ad6cb8f0d2ffa516fb95a657324c2cb2dba805bd.zip |
(formatError): better handling if error is multi-lined
Diffstat (limited to 'MDK')
-rw-r--r-- | MDK/Common/String.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MDK/Common/String.pm b/MDK/Common/String.pm index 5d302a9..480c8f4 100644 --- a/MDK/Common/String.pm +++ b/MDK/Common/String.pm @@ -90,7 +90,7 @@ sub formatList { } sub formatError { my ($err) = @_; - $err =~ s/ at .*?$/\./ if !$::testing; + $err =~ s/ at .*?$/\./s if !$::testing; $err; } sub formatTimeRaw { |