summaryrefslogtreecommitdiffstats
path: root/src/virtBootstrap/sources.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/virtBootstrap/sources.py')
-rw-r--r--src/virtBootstrap/sources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virtBootstrap/sources.py b/src/virtBootstrap/sources.py
index 77aa15f..f05d057 100644
--- a/src/virtBootstrap/sources.py
+++ b/src/virtBootstrap/sources.py
@@ -145,7 +145,7 @@ class DockerSource(object):
image = image[1:]
# Convert "docker://<image>/" to "docker://<image>"
- elif image.endswith('/'):
+ if image.endswith('/'):
image = image[:-1]
return "docker://" + registry + image