summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild/download/docker_downloader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/download/docker_downloader.py b/build/download/docker_downloader.py
index db79d8a6..c767aa9e 100755
--- a/build/download/docker_downloader.py
+++ b/build/download/docker_downloader.py
@@ -162,7 +162,7 @@ class DockerDownloader(ConcurrentDownloader):
# if docker mirroring repository is set
image_name_split = image_name.split('/')
if (len(image_name_split) > 1) \
- and (image_name_split[0].find(".")) \
+ and (image_name_split[0].find(".")) >= 0 \
and not (image_name.startswith('docker.io/')) \
and (image_name_split[0] not in self._mirror_exclude):
# if image originates from private registry and its name does not start with 'docker.io'