diff options
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 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) |