diff options
author | Hedayat Vatankhah <hedayat.fwd@gmail.com> | 2011-05-12 01:48:23 +0430 |
---|---|---|
committer | Hedayat Vatankhah <hedayat.fwd@gmail.com> | 2011-05-12 01:48:23 +0430 |
commit | 2a338a368b9b08c3861a54098cc0c0c87b112169 (patch) | |
tree | c4c597cd24eda7931d756bf909e915c85285c694 | |
parent | e4794fb30fca8ca51b472cd0c5cf6fbb4ac220ea (diff) | |
download | yum-fast-downloader-2a338a368b9b08c3861a54098cc0c0c87b112169.tar.gz yum-fast-downloader-2a338a368b9b08c3861a54098cc0c0c87b112169.tar.xz yum-fast-downloader-2a338a368b9b08c3861a54098cc0c0c87b112169.zip |
misc -> yum.misc as misc is not imported here
-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 d48c1dc..5606c7f 100644 --- a/yum-fast-downloader.py +++ b/yum-fast-downloader.py @@ -117,7 +117,7 @@ def myRetrieveMD(self, mdtype, retrieve_can_fail=False): if thisdata.size and os.path.exists(local): if os.stat(local).st_size >= int(thisdata.size): - misc.unlink_f(local) + yum.misc.unlink_f(local) downloadFile(self.urls, remote, local, self.proxy_dict) return originalRetrieveMD(self, mdtype, retrieve_can_fail) |