eric7/PipInterface/PipVulnerabilityChecker.py

branch
eric7
changeset 9052
c06475635841
parent 9001
a00cd6b55728
--- a/eric7/PipInterface/PipVulnerabilityChecker.py	Tue May 03 11:39:06 2022 +0200
+++ b/eric7/PipInterface/PipVulnerabilityChecker.py	Tue May 03 14:24:46 2022 +0200
@@ -217,9 +217,11 @@
         EricMessageBox.critical(
             None,
             self.tr("Fetching Vulnerability Database"),
-            self.tr("""<p>The vulnerability database <b>{0}</b> could not"""
-                    """ be loaded from <b>{1}</b>.</p><p>The vulnerability"""
-                    """ check is not available.</p>""")
+            self.tr(
+                """<p>The vulnerability database <b>{0}</b> could not"""
+                """ be loaded from <b>{1}</b>.</p><p>The vulnerability"""
+                """ check is not available.</p>"""
+            ).format(dbName, Preferences.getPip("VulnerabilityDbMirror"))
         )
         return {}
     

eric ide

mercurial