aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-25 06:23:32 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-25 06:23:32 +0000
commitf330b62eaad55827697f10b2ed1d389a8ac0b756 (patch)
treee22f72803bdf279c451133b3fd6293b3014eea1a
parent9a8ca6c1f42cf96bdac0015617d79a11561a6c55 (diff)
downloadiurt-f330b62eaad55827697f10b2ed1d389a8ac0b756.tar
iurt-f330b62eaad55827697f10b2ed1d389a8ac0b756.tar.gz
iurt-f330b62eaad55827697f10b2ed1d389a8ac0b756.tar.bz2
iurt-f330b62eaad55827697f10b2ed1d389a8ac0b756.tar.xz
iurt-f330b62eaad55827697f10b2ed1d389a8ac0b756.zip
(upload_prefix_in_section) kill unused variable
-rwxr-xr-xemi3
1 files changed, 1 insertions, 2 deletions
diff --git a/emi b/emi
index caf5b2b..ac1e9a8 100755
--- a/emi
+++ b/emi
@@ -281,10 +281,9 @@ sub upload_prefix_in_section {
my $text = join("\n", qq(The upload of the following packages failed:\n), map { "- $_" } @pkgs) . "\n";
my $rpms = join(' ', @pkgs, undef);
my $to = get_author_email($user) || "Unknown <$config->{admin}>";
- my $cc;
$text .= "\nUpload log available in $config->{http_queue}/rejected/$path/$prefix.youri\n";
- sendmail($to, $cc, "Upload failed for $rpms", $text, "Emi the upload bot <$config->{admin}>", 0, $config);
+ sendmail($to, undef, "Upload failed for $rpms", $text, "Emi the upload bot <$config->{admin}>", 0, $config);
}
# should delete the files