PipxInterface/PipxPackagesInputDialog.py

changeset 12
a09f763d5e1f
parent 9
2ab7d3ac8283
child 13
e0359a1339fe
--- a/PipxInterface/PipxPackagesInputDialog.py	Thu Jun 27 16:20:56 2024 +0200
+++ b/PipxInterface/PipxPackagesInputDialog.py	Thu Jun 27 17:50:51 2024 +0200
@@ -60,10 +60,8 @@
             indicating to give access to the system site-packages directory.
         @rtype tuple of (list of str, str, bool, bool, bool)
         """
-        packages = [p.strip() for p in self.packagesEdit.text().split()]
-
         return (
-            packages,
+            [p.strip() for p in self.packagesEdit.text().split()],
             self.interpreterVersionEdit.text().strip(),
             self.fetchMissingCheckBox.isChecked(),
             self.forceCheckBox.isChecked(),

eric ide

mercurial