Corrected an error message in the pip interface. eric7

Tue, 03 May 2022 14:24:46 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 03 May 2022 14:24:46 +0200
branch
eric7
changeset 9052
c06475635841
parent 9051
903d596d7b17
child 9053
16b77aba8703

Corrected an error message in the pip interface.

eric7/PipInterface/PipVulnerabilityChecker.py file | annotate | diff | comparison | revisions
--- 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