--upgrade-from= should not require a compatibility module of that exact

name to exist, especially for Nomsu upgrades
This commit is contained in:
Bruce Hill 2019-03-22 14:39:02 -07:00
parent f0f3c7e0bb
commit 24f347fd0c

View File

@ -19,8 +19,6 @@ command line program with $args:
if $start_version:
try:
use $start_version
..if it fails:
fail "Could not find upgrade rules for \$start_version"
$version = ($args."upgrade-to" or $(NOMSU VERSION))
$test = ($args.t or $args.test)
for $filename in $args.extras:
@ -46,4 +44,4 @@ command line program with $args:
say (bright "\$filename will be changed")
else:
say $text inline
say $text inline