215 return data |
215 return data |
216 |
216 |
217 EricMessageBox.critical( |
217 EricMessageBox.critical( |
218 None, |
218 None, |
219 self.tr("Fetching Vulnerability Database"), |
219 self.tr("Fetching Vulnerability Database"), |
220 self.tr("""<p>The vulnerability database <b>{0}</b> could not""" |
220 self.tr( |
221 """ be loaded from <b>{1}</b>.</p><p>The vulnerability""" |
221 """<p>The vulnerability database <b>{0}</b> could not""" |
222 """ check is not available.</p>""") |
222 """ be loaded from <b>{1}</b>.</p><p>The vulnerability""" |
|
223 """ check is not available.</p>""" |
|
224 ).format(dbName, Preferences.getPip("VulnerabilityDbMirror")) |
223 ) |
225 ) |
224 return {} |
226 return {} |
225 |
227 |
226 def __getVulnerabilities(self, package, specifier, db): |
228 def __getVulnerabilities(self, package, specifier, db): |
227 """ |
229 """ |