summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHedayat Vatankhah <hedayat.fwd@gmail.com>2011-05-12 01:48:23 +0430
committerHedayat Vatankhah <hedayat.fwd@gmail.com>2011-05-12 01:48:23 +0430
commit2a338a368b9b08c3861a54098cc0c0c87b112169 (patch)
treec4c597cd24eda7931d756bf909e915c85285c694
parente4794fb30fca8ca51b472cd0c5cf6fbb4ac220ea (diff)
downloadyum-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.py2
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)