aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-24 15:36:56 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-24 15:36:56 +0000
commit1b4611bb481bb90dae60f9927f24be01f39a00a1 (patch)
treed15ac0ccbb3450bdc86ef4426794b1354d2de84d
parent01a4b0117922c61b6d663938788b6a2ff9b9210b (diff)
downloadiurt-1b4611bb481bb90dae60f9927f24be01f39a00a1.tar
iurt-1b4611bb481bb90dae60f9927f24be01f39a00a1.tar.gz
iurt-1b4611bb481bb90dae60f9927f24be01f39a00a1.tar.bz2
iurt-1b4611bb481bb90dae60f9927f24be01f39a00a1.tar.xz
iurt-1b4611bb481bb90dae60f9927f24be01f39a00a1.zip
(check_upload_tree) kill unused arg
-rwxr-xr-xemi4
-rw-r--r--lib/Iurt/File.pm2
-rwxr-xr-xulri4
3 files changed, 5 insertions, 5 deletions
diff --git a/emi b/emi
index 6ba4d21..0474951 100755
--- a/emi
+++ b/emi
@@ -168,8 +168,8 @@ sub todo_func {
}
}
-check_upload_tree(\%run, $done, \&done_func, \&done_post);
-check_upload_tree(\%run, $todo, \&todo_func,);
+check_upload_tree($done, \&done_func, \&done_post);
+check_upload_tree($todo, \&todo_func,);
#
diff --git a/lib/Iurt/File.pm b/lib/Iurt/File.pm
index ba5f718..91feb49 100644
--- a/lib/Iurt/File.pm
+++ b/lib/Iurt/File.pm
@@ -18,7 +18,7 @@ Return true.
=cut
sub check_upload_tree {
- my ($_run, $todo, $func, $post) = @_;
+ my ($todo, $func, $post) = @_;
# Squash double slashes for cosmetics
$todo =~ s!/+!/!g;
diff --git a/ulri b/ulri
index 27bdf35..89e281c 100755
--- a/ulri
+++ b/ulri
@@ -277,12 +277,12 @@ sub done_func {
}
-check_upload_tree(\%run, $todo, \&todo_func, \&todo_post);
+check_upload_tree($todo, \&todo_func, \&todo_post);
# getting already compiled packages
# The cache should not be needed if the .done file are removed as the same
# time as the src.rpm in the todo tree
-check_upload_tree(\%run, $done, \&done_func,);
+check_upload_tree($done, \&done_func,);
#