sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 10028ee46789518f0f5269b3aa107a4318eeeac6
parent c042c519e14cfd15f2fc49fa479d0f5b7bb18183
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Mon, 13 Jun 2016 00:22:44 +0200

sboupgrade: change //= construct to be more verbose

Diffstat:
Msboupgrade | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sboupgrade b/sboupgrade @@ -124,7 +124,7 @@ my %inst_names; $inst_names{$_} = 1 for @$inst_names; my %updates; if (not $non_int or not $force) { - $updates //= get_available_updates(); + $updates = get_available_updates() if not defined $updates; $updates{$$_{name}} = 1 for @$updates; }