From c87038afc85ab45721bec026057a0adf5e71f485 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Thu, 1 May 2025 01:07:22 +0100 Subject: [PATCH] Filter out useless IDs --- src/manage/list_command.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/manage/list_command.py b/src/manage/list_command.py index e1c2869..29b9a42 100644 --- a/src/manage/list_command.py +++ b/src/manage/list_command.py @@ -171,6 +171,9 @@ def format_json_lines(cmd, installs): def format_bare_id(cmd, installs): for i in installs: + # Don't print useless values (__active-virtual-env, __unmanaged-) + if i["id"].startswith("__"): + continue print(i["id"])