diff options
author | Hedayat Vatankhah <hedayat.fwd@gmail.com> | 2011-05-12 11:38:21 +0430 |
---|---|---|
committer | Hedayat Vatankhah <hedayat.fwd@gmail.com> | 2011-05-12 11:38:21 +0430 |
commit | 9229028c213760dbc4610b6276d2fcf793f00b05 (patch) | |
tree | c1ddab54f2449701875b8cbac04f19070191950c /yum-fast-downloader.py | |
parent | 42697509869b9470c70368590156f7c72c92763d (diff) | |
download | yum-fast-downloader-9229028c213760dbc4610b6276d2fcf793f00b05.tar.gz yum-fast-downloader-9229028c213760dbc4610b6276d2fcf793f00b05.tar.xz yum-fast-downloader-9229028c213760dbc4610b6276d2fcf793f00b05.zip |
Overwrite MD retrieval before reposetup so that it works as expected in recent yum
Diffstat (limited to 'yum-fast-downloader.py')
-rw-r--r-- | yum-fast-downloader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yum-fast-downloader.py b/yum-fast-downloader.py index 4840fd0..f5f2dd2 100644 --- a/yum-fast-downloader.py +++ b/yum-fast-downloader.py @@ -135,7 +135,7 @@ def postconfig_hook(conduit): "--max-concurrent-downloads={0}".format(max_concurrent_downloads)) -def postreposetup_hook(conduit): +def prereposetup_hook(conduit): ret_insmethod = type(YumRepository._retrieveMD) YumRepository._retrieveMD = ret_insmethod(myRetrieveMD, None, YumRepository) # repos = conduit.getRepos() |