From 5525548ced5a3c9666e30f22682f7d7cef362240 Mon Sep 17 00:00:00 2001 From: Aditya Hase Date: Sun, 21 Feb 2021 10:04:03 +0530 Subject: [PATCH] perf: Remove six.moves.urllib from the import tree --- bench/config/lets_encrypt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bench/config/lets_encrypt.py b/bench/config/lets_encrypt.py index c771226d..752d361c 100755 --- a/bench/config/lets_encrypt.py +++ b/bench/config/lets_encrypt.py @@ -3,7 +3,6 @@ import os # imports - third party imports import click -from six.moves.urllib.request import urlretrieve # imports - module imports import bench @@ -107,6 +106,8 @@ def create_dir_if_missing(path): def get_certbot(): + from six.moves.urllib.request import urlretrieve + certbot_path = get_certbot_path() create_dir_if_missing(certbot_path)