From a1449aad0154b9120a4117f3de5d3f58091590da Mon Sep 17 00:00:00 2001 From: Javier Gonzalez Date: Thu, 18 Apr 2024 10:54:50 -0400 Subject: [PATCH] do not have subprocess.run check the return code. This is checked after the call, and it is ignored if the package is not found. --- skare3_tools/packages.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/skare3_tools/packages.py b/skare3_tools/packages.py index 0814ed1..0457f6b 100755 --- a/skare3_tools/packages.py +++ b/skare3_tools/packages.py @@ -785,8 +785,7 @@ def get_conda_pkg_info(conda_package, conda_channel=None): msg += " -".join(unreachable) raise NetworkException(msg) - check = kwargs.pop("check", True) - p = subprocess.run(cmd, check=check, **kwargs) + p = subprocess.run(cmd, check=False, **kwargs) out = json.loads(p.stdout.decode()) if ( "error" in out