aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2017-08-29 00:16:34 +0100
committerPascal Terjan <pterjan@mageia.org>2017-08-29 00:16:44 +0100
commit2e1a07d8e2ba69960a2eb4e4c42089d039a02257 (patch)
tree1644fc392ced685d2228a3057810c32fcd072a37
parentd94fefb095565cdbda9fdf68bad5d19508ff6cd6 (diff)
downloadiurt-2e1a07d8e2ba69960a2eb4e4c42089d039a02257.tar
iurt-2e1a07d8e2ba69960a2eb4e4c42089d039a02257.tar.gz
iurt-2e1a07d8e2ba69960a2eb4e4c42089d039a02257.tar.bz2
iurt-2e1a07d8e2ba69960a2eb4e4c42089d039a02257.tar.xz
iurt-2e1a07d8e2ba69960a2eb4e4c42089d039a02257.zip
Fix stupid bug making upload very slow
-rw-r--r--lib/Iurt/Emi.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Emi.pm b/lib/Iurt/Emi.pm
index 97d9edd..f7a76fb 100644
--- a/lib/Iurt/Emi.pm
+++ b/lib/Iurt/Emi.pm
@@ -77,7 +77,7 @@ sub find_prefixes_ready_to_upload {
# We already have found universal finisher in that media, we're fine
next if exists $targets{$target}{$media}{arch_finisher}{noarch};
- my %arches_to_upload = {};
+ my %arches_to_upload;
foreach (@{$pkg_tree{$prefix}{media}{$media}{rpms}}) {
next unless /\.([^.]*)\.rpm/;
my $arch = $1;