src/eric7/PipInterface/Pip.py

branch
eric7
changeset 10167
0a62a4bf749c
parent 10156
e72868c86d84
child 10174
6aac1022f330
child 10177
27a6e35c64ed
diff -r a55bc571e023 -r 0a62a4bf749c src/eric7/PipInterface/Pip.py
--- a/src/eric7/PipInterface/Pip.py	Tue Aug 29 09:55:24 2023 +0200
+++ b/src/eric7/PipInterface/Pip.py	Tue Aug 29 16:50:17 2023 +0200
@@ -654,14 +654,11 @@
                 proc = QProcess()
                 proc.start(interpreter, args)
                 if proc.waitForStarted(15000) and proc.waitForFinished(30000):
-                    output = (
-                        str(
-                            proc.readAllStandardOutput(),
-                            Preferences.getSystem("IOEncoding"),
-                            "replace",
-                        )
-                        .strip()
-                    )
+                    output = str(
+                        proc.readAllStandardOutput(),
+                        Preferences.getSystem("IOEncoding"),
+                        "replace",
+                    ).strip()
                     if output:
                         output = output.splitlines()[0]
                         try:
@@ -736,14 +733,11 @@
                 proc = QProcess()
                 proc.start(interpreter, args)
                 if proc.waitForStarted(15000) and proc.waitForFinished(30000):
-                    output = (
-                        str(
-                            proc.readAllStandardOutput(),
-                            Preferences.getSystem("IOEncoding"),
-                            "replace",
-                        )
-                        .strip()
-                    )
+                    output = str(
+                        proc.readAllStandardOutput(),
+                        Preferences.getSystem("IOEncoding"),
+                        "replace",
+                    ).strip()
                     if output:
                         output = output.splitlines()[0]
                         try:

eric ide

mercurial