aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.pm
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.pm')
-rw-r--r--URPM.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM.pm b/URPM.pm
index 0168358..2dc3eb0 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -101,8 +101,8 @@ sub traverse {
my ($urpm, $callback) = @_;
if ($callback) {
- foreach (@{$urpm->{depslist} || []}) {
- $callback->($_);
+ foreach my $p (@{$urpm->{depslist} || []}) {
+ $callback->($p);
}
}