summaryrefslogtreecommitdiffstats
path: root/build/download/downloader.py
diff options
context:
space:
mode:
authorMilan Verespej <m.verespej@partner.samsung.com>2019-06-18 15:09:41 +0200
committerMilan Verespej <m.verespej@partner.samsung.com>2019-06-18 18:47:46 +0200
commitda9e6b9c5a0a06d30078e44051f18ee3ba02968c (patch)
treecdbf1d9602a8b7362bad5ccd19f5c16704b8a1e9 /build/download/downloader.py
parent4c7e8924320654de60efd5096d6678549ca5ac05 (diff)
Refactor and improve docker image downloading
Issue-ID: OOM-1803 Change-Id: I4e648d49835faa60165725d1ca4ec22ba1e3e12b Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
Diffstat (limited to 'build/download/downloader.py')
-rw-r--r--build/download/downloader.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/download/downloader.py b/build/download/downloader.py
index b8e9ed50..64403300 100644
--- a/build/download/downloader.py
+++ b/build/download/downloader.py
@@ -101,7 +101,10 @@ class AbstractDownloader(ABC):
"""
for item in self._merged_lists():
if item not in self._missing:
- log.info('File or directory present: {}'.format(item))
+ if type(self).__name__ == 'DockerDownloader':
+ log.info('Docker image present: {}'.format(item))
+ else:
+ log.info('File or directory present: {}'.format(item))
def _merged_lists(self):
"""