From 72456036286d3ae71bf5255a8370fdc40020d0de Mon Sep 17 00:00:00 2001 From: AJ Jordan Date: Wed, 3 Jul 2019 01:48:55 -0700 Subject: [PATCH] Say which repository caused the error in warnings --- qubesmanager/global_settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubesmanager/global_settings.py b/qubesmanager/global_settings.py index ee7767c..f2b173c 100644 --- a/qubesmanager/global_settings.py +++ b/qubesmanager/global_settings.py @@ -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