We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22bffc7 commit 636268aCopy full SHA for 636268a
src/agstoolbox/core/cmdline/cmdline.py
@@ -142,9 +142,9 @@ def at_cmd_install(args):
142
if editor_version.improv == "0" and editor_version.patch == "0":
143
release_to_install = get_latest_release_family(releases, editor_version.family)
144
145
- with release_to_install as ri:
146
- if ri is None or ri.archive_url is None or len(ri.archive_url) <= 1:
147
- release_to_install = get_release_version(releases, editor_version)
+ ri = release_to_install
+ if ri is None or ri.archive_url is None or len(ri.archive_url) <= 1:
+ release_to_install = get_release_version(releases, editor_version)
148
149
if release_to_install is None:
150
print('ERROR: Editor Version specified is invalid!')
0 commit comments