src/eric7/PipInterface/Pip.py

branch
eric7-maintenance
changeset 9305
3b7ef53c34c7
parent 9264
18a7312cfdb3
parent 9278
36448ca469c2
child 9371
1da8bc75946f
--- a/src/eric7/PipInterface/Pip.py	Mon Jul 25 16:58:55 2022 +0200
+++ b/src/eric7/PipInterface/Pip.py	Fri Sep 02 14:07:46 2022 +0200
@@ -636,11 +636,15 @@
                 proc = QProcess()
                 proc.start(interpreter, args)
                 if proc.waitForStarted(15000) and proc.waitForFinished(30000):
-                    output = str(
-                        proc.readAllStandardOutput(),
-                        Preferences.getSystem("IOEncoding"),
-                        "replace",
-                    ).strip().splitlines()[0]
+                    output = (
+                        str(
+                            proc.readAllStandardOutput(),
+                            Preferences.getSystem("IOEncoding"),
+                            "replace",
+                        )
+                        .strip()
+                        .splitlines()[0]
+                    )
                     try:
                         jsonList = json.loads(output)
                     except Exception:
@@ -703,11 +707,15 @@
                 proc = QProcess()
                 proc.start(interpreter, args)
                 if proc.waitForStarted(15000) and proc.waitForFinished(30000):
-                    output = str(
-                        proc.readAllStandardOutput(),
-                        Preferences.getSystem("IOEncoding"),
-                        "replace",
-                    ).strip().splitlines()[0]
+                    output = (
+                        str(
+                            proc.readAllStandardOutput(),
+                            Preferences.getSystem("IOEncoding"),
+                            "replace",
+                        )
+                        .strip()
+                        .splitlines()[0]
+                    )
                     try:
                         jsonList = json.loads(output)
                     except Exception:

eric ide

mercurial