From ac8303c924cbdde7661564a310e5e6b16c0983c9 Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Fri, 27 Mar 2026 16:45:27 -0500 Subject: [PATCH] Fixed list and download commands broken in 0.8.8 version A small logic error caused these commands to fail. Ticket: ENT-13821 Changelog: title --- cf_remote/commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cf_remote/commands.py b/cf_remote/commands.py index 53bc9a4..4e1cef1 100644 --- a/cf_remote/commands.py +++ b/cf_remote/commands.py @@ -318,6 +318,8 @@ def _iterate_over_packages( ): assert edition in ["enterprise", "community", None] releases = Releases(edition) + if not version: + version = releases.default.version print("Available releases: {}".format(releases)) if allow_expired: print("Expired releases: {}".format(releases.show_expired()))