client/rhel/yum-rhn-plugin/rhnplugin.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 731bde5f9d0506300e7722294258a8d3b0e689ba
Author: Simon Lukasik <slukasik(a)redhat.com>
Date: Mon Jul 18 13:53:02 2011 +0200
703169 - Search for cached repomd.xml in a correct path
Directory repodata/ does not exists in the cache.
diff --git a/client/rhel/yum-rhn-plugin/rhnplugin.py
b/client/rhel/yum-rhn-plugin/rhnplugin.py
index 66e7a0e..9fd658f 100644
--- a/client/rhel/yum-rhn-plugin/rhnplugin.py
+++ b/client/rhel/yum-rhn-plugin/rhnplugin.py
@@ -72,7 +72,7 @@ def init_hook(conduit):
(repoid, reponame) = repo_item
repodir = os.path.join(cachedir, repoid)
if os.path.isdir(repodir) and os.path.isfile(
- os.path.join(repodir, 'repodata',
'repomd.xml')):
+ os.path.join(repodir, 'repomd.xml')):
repo = YumRepository(repoid)
repo.basecachedir = cachedir
repo.baseurl = ['file:///' + repodir ]
Show replies by date