summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadek Vykydal <rvykydal@redhat.com>2009-09-29 10:34:43 +0200
committerRadek Vykydal <rvykydal@redhat.com>2009-09-29 10:34:43 +0200
commitfee2a0f2cc57aaa2427283924d260c19e8ad1c2a (patch)
treec97e920f7225f36d3c293631bde7aa2a007f10f7
parenta3ca959b4f40daf5a4a6b5c2a6bc2072ae7eba0c (diff)
Log more, repo editing UI.
-rw-r--r--iw/task_gui.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/iw/task_gui.py b/iw/task_gui.py
index 1a2be0702..3810c1f62 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: