From 66d2c81c74cc028e205b1e53c093a63c2a281256 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 19 Feb 2009 22:50:04 +0000 Subject: [PATCH] =?utf8?q?Bug=20479228:=20Duplicated=20words=20in=20the=20?= =?utf8?q?error=20message=20in=20importxml.pl=20when=20the=20default=20pro?= =?utf8?q?duct=20or=20component=20doesn't=20exist=20-=20Patch=20by=20Fr?= =?utf8?q?=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r?= =?utf8?q?=3Dghendricks=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- importxml.pl | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/importxml.pl b/importxml.pl index a141d5e169..0a6aefe45b 100755 --- a/importxml.pl +++ b/importxml.pl @@ -322,19 +322,17 @@ sub init() { Error( "no urlbase set", "REOPEN", $exporter ) unless ($urlbase); my $def_product = new Bugzilla::Product( { name => $params->{"moved-default-product"} } ) - || Error("Cannot import these bugs because an invalid default - product was defined for the target db." - . $params->{"maintainer"} . " needs to fix the definitions of - moved-default-product. \n", "REOPEN", $exporter); + || Error("an invalid default product was defined for the target DB. " . + $params->{"maintainer"} . " needs to fix the definitions of " . + "moved-default-product. \n", "REOPEN", $exporter); my $def_component = new Bugzilla::Component( { product => $def_product, name => $params->{"moved-default-component"} }) - || Error("Cannot import these bugs because an invalid default - component was defined for the target db." - . $params->{"maintainer"} . " needs to fix the definitions of - moved-default-component.\n", "REOPEN", $exporter); + || Error("an invalid default component was defined for the target DB. " . + $params->{"maintainer"} . " needs to fix the definitions of " . + "moved-default-component.\n", "REOPEN", $exporter); } @@ -1354,7 +1352,7 @@ importxml - Import bugzilla bug data from xml. Options: -? --help brief help message -v --verbose print error and debug information. - Mulltiple -v increases verbosity + Multiple -v increases verbosity -m --sendmail send mail to recipients with log of bugs imported --attach_path The path to the attachment files. (Required if encoding="filename" is used for attachments.) -- 2.47.2