src/eric7/PipInterface/Pip.py

branch
eric7-maintenance
changeset 10694
f46c1e224e8a
parent 10659
43ead32943ca
parent 10690
fab36645aa7d
child 10814
ba20efe10336
--- a/src/eric7/PipInterface/Pip.py	Tue Apr 02 10:13:41 2024 +0200
+++ b/src/eric7/PipInterface/Pip.py	Wed Apr 24 10:14:16 2024 +0200
@@ -506,7 +506,7 @@
         """
         from .PipFileSelectionDialog import PipFileSelectionDialog
 
-        dlg = PipFileSelectionDialog(self, "requirements")
+        dlg = PipFileSelectionDialog("requirements")
         if dlg.exec() == QDialog.DialogCode.Accepted:
             requirements, user = dlg.getData()
             if requirements and os.path.exists(requirements):
@@ -557,7 +557,7 @@
         """
         from .PipFileSelectionDialog import PipFileSelectionDialog
 
-        dlg = PipFileSelectionDialog(self, "pyproject")
+        dlg = PipFileSelectionDialog("pyproject")
         if dlg.exec() == QDialog.DialogCode.Accepted:
             pyproject, user = dlg.getData()
             if pyproject and os.path.exists(pyproject):
@@ -643,7 +643,7 @@
         from .PipFileSelectionDialog import PipFileSelectionDialog
 
         if venvName:
-            dlg = PipFileSelectionDialog(self, "requirements", install=False)
+            dlg = PipFileSelectionDialog("requirements", install=False)
             if dlg.exec() == QDialog.DialogCode.Accepted:
                 requirements, _user = dlg.getData()
                 if requirements and os.path.exists(requirements):
@@ -687,7 +687,7 @@
         from .PipFileSelectionDialog import PipFileSelectionDialog
 
         if venvName:
-            dlg = PipFileSelectionDialog(self, "pyproject", install=False)
+            dlg = PipFileSelectionDialog("pyproject", install=False)
             if dlg.exec() == QDialog.DialogCode.Accepted:
                 pyproject, _user = dlg.getData()
                 if pyproject and os.path.exists(pyproject):

eric ide

mercurial