[PATCH 03/14] Log more, repo editing UI.

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

 



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

diff --git a/iw/task_gui.py b/iw/task_gui.py
index bb69dba..da3d2ff 100644
--- a/iw/task_gui.py
+++ b/iw/task_gui.py
@@ -43,7 +43,7 @@ def setupRepo(anaconda, repo):
     try:
         anaconda.backend.doRepoSetup(anaconda, thisrepo=repo.id, fatalerrors=False)
         anaconda.backend.doSackSetup(anaconda, thisrepo=repo.id, fatalerrors=False)
-        log.info("added repository %s with source URL %s" % (repo.name, repo.mirrorlist or repo.baseurl))
+        log.info("added (UI) repository %s with source URL %s, id:%s" % (repo.name, repo.mirrorlist or repo.baseurl, repo.id))
         # FIXME: need a per-repo way of doing this; largely cut and paste
         # from yum right now
         if not repo.groups_added:
@@ -370,6 +370,8 @@ class RepoEditor:
 
                 self.repo.close()
                 self.anaconda.backend.ayum.repos.delete(self.repo.id)
+                log.info("deleted (UI) repository %s with source URL %s, id:%s"
+                         % (self.repo.name, self.repo.mirrorlist or self.repo.baseurl, self.repo.id))
                 try:
                     shutil.rmtree(self.repo.cachedir)
                 except Exception as e:
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux