Preferences/ConfigurationPages/PipPage.py

changeset 6818
961bfc3b68f1
parent 6800
ce5b800b2fe2
diff -r 8fb29a716d1a -r 961bfc3b68f1 Preferences/ConfigurationPages/PipPage.py
--- a/Preferences/ConfigurationPages/PipPage.py	Sun Feb 24 17:55:36 2019 +0100
+++ b/Preferences/ConfigurationPages/PipPage.py	Sun Feb 24 18:06:00 2019 +0100
@@ -12,7 +12,7 @@
 from .ConfigurationPageBase import ConfigurationPageBase
 from .Ui_PipPage import Ui_PipPage
 
-from PipInterface import DefaultPyPiUrl
+from PipInterface.Pip import Pip
 
 import Preferences
 
@@ -32,7 +32,7 @@
         self.indexLabel.setText(self.tr(
             '<b>Note:</b> Leave empty to use the default index URL ('
             '<a href="{0}">{0}</a>).')
-            .format(DefaultPyPiUrl))
+            .format(Pip.DefaultPyPiUrl))
         
         # set initial values
         self.indexEdit.setText(Preferences.getPip("PipSearchIndex"))

eric ide

mercurial