src/eric7/CondaInterface/Conda.py

branch
eric7
changeset 9462
e65379fdbd97
parent 9413
80c06d472826
child 9473
3f23dbf37dbe
--- a/src/eric7/CondaInterface/Conda.py	Wed Nov 02 10:12:25 2022 +0100
+++ b/src/eric7/CondaInterface/Conda.py	Wed Nov 02 12:07:01 2022 +0100
@@ -603,7 +603,7 @@
                 Preferences.getSystem("IOEncoding"),
                 "replace",
             ).strip()
-            with contextlib.suppress(Exception):
+            with contextlib.suppress(json.JSONDecodeError):
                 packages = json.loads(output)
                 ok = "error" not in packages
 

eric ide

mercurial