diff options
Diffstat (limited to 'tests/functest/odl-sfc/utils.py')
-rw-r--r-- | tests/functest/odl-sfc/utils.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/functest/odl-sfc/utils.py b/tests/functest/odl-sfc/utils.py index f0b81760..9cbc9ddb 100644 --- a/tests/functest/odl-sfc/utils.py +++ b/tests/functest/odl-sfc/utils.py @@ -114,10 +114,8 @@ def download_image(url, image_path): if not os.path.isfile(image_path): logger.info("Downloading image") ft_utils.download_url(image_url, image_dir) - return None - - logger.info("Using old image") - return + else: + logger.info("Using old image") def setup_neutron(neutron_client, net, subnet, router, subnet_cidr): |