Say which repository caused the error in warnings

This commit is contained in:
AJ Jordan 2019-07-03 01:48:55 -07:00
parent 352c0d0386
commit 7245603628
No known key found for this signature in database
GPG Key ID: 26794034633DBBC0

View File

@ -359,8 +359,8 @@ class GlobalSettingsWindow(ui_globalsettingsdlg.Ui_GlobalSettings,
QtGui.QMessageBox.warning(
None,
self.tr("ERROR!"),
self.tr("Error managing repository settings: {msg}".format(
msg=msg)))
self.tr("Error managing {repo} repository settings:"
" {msg}".format(repo=name, msg=msg)))
def _handle_dom0_updates_combobox(self, idx):
idx += 1