[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH master] Fix traceback when using duplicate name for added/edited repo (#623080)



Ack.

On 08/12/2010 10:59 AM, Radek Vykydal wrote:
The traceback is in non-fatal error message raised when the duplicate
name is used.

---
  pyanaconda/iw/task_gui.py |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/iw/task_gui.py b/pyanaconda/iw/task_gui.py
index baf2729..cba030d 100644
--- a/pyanaconda/iw/task_gui.py
+++ b/pyanaconda/iw/task_gui.py
@@ -152,7 +152,7 @@ class RepoEditor:
              self.intf.messageWindow(_("Error"),
                    _("The repository %s has already been added.  Please "
                      "choose a different repository name and "
-                    "URL.") % self.repo.name, type="ok", custom_icon="error")
+                    "URL.") % repo.name, type="ok", custom_icon="error")
              return False

          repo.enable()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]