diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-11-14 04:04:34 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-11-14 04:04:34 +0100 |
commit | 12ab108ac9be2fd27700ca2f92b2a73f04ac4803 (patch) | |
tree | d039751c0d102b467dd5c59a5047867a9e28c2e6 /sboupgrade | |
parent | eaa18fd91c51c136ff6ec607d46d32b87a2ea34f (diff) | |
download | sbotools2-12ab108ac9be2fd27700ca2f92b2a73f04ac4803.tar.xz |
Additional Perl::Critic::Freenode fixes, and one missed prototype
Diffstat (limited to 'sboupgrade')
-rwxr-xr-x | sboupgrade | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -163,14 +163,15 @@ unless ($force) { $queue = $queue2; my $cqueue; # get locations for all the things - my %locs = get_sbo_location($queue); + my %locs = get_sbo_locations($queue); my %clocs; # -compat32-ify the queue and locations if appropriate if ($sbo =~ /-compat32$/) { $cqueue = $queue; s/$/-compat32/g for @$cqueue; $queue = $cqueue; - while (my ($key, $val) = each %locs) { + for my $key (keys %locs) { + my $val = $locs{$key}; $key =~ s/$/-compat32/; $clocs{$key} = $val; } |