git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a40f1f
)
sc: drop legacy variable fallback in upgrade precalculation
author
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 19 Jun 2015 04:40:23 +0000
(06:40 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 19 Jun 2015 04:40:23 +0000
(06:40 +0200)
sc.plp
patch
|
blob
|
history
diff --git
a/sc.plp
b/sc.plp
index 69b6a519f26e5170bab15c33191da2fea04ddaed..3174511d61b8a5c0e9d7ebd8530eba5d03298a27 100644
(file)
--- a/
sc.plp
+++ b/
sc.plp
@@
-49,7
+49,7
@@
my $patch = shift @{$units}
print "<p>Unit properties as seen or measured in $scver{name}\n$patch.\n</p>\n\n";
for my $unit (@{$units}) {
- for my $upgrade (@{ $unit->{upgrade}
// $unit->{update} // []
}) {
+ for my $upgrade (@{ $unit->{upgrade} }) {
while (my ($col, $increase) = each %{$upgrade}) {
defined $unit->{$col} or next;