summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--yum-fast-downloader.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/yum-fast-downloader.py b/yum-fast-downloader.py
index e34acac..fda6f34 100644
--- a/yum-fast-downloader.py
+++ b/yum-fast-downloader.py
@@ -62,7 +62,10 @@ def _getAria2CArgs(urls, remote_path, local_path, proxies = None):
def downloadFile(urls, remote_path, local_path, proxies = None):
if urls[0].startswith("http://") or urls[0].startswith("ftp://"):
- print "\n==== Downloading {0} ====".format(remote_path)
+ print "\n============================================================" \
+ "====================\nDownloading {0}\n=========="\
+ "==================================================================="\
+ "===".format(remote_path)
args = _getAria2CArgs(urls, remote_path, local_path)
ret = os.spawnvp(os.P_WAIT, downloader_app, args)
if ret: