2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-16 01:57:08 +00:00

perf: Remove six.moves.urllib from the import tree

This commit is contained in:
Aditya Hase 2021-02-21 10:04:03 +05:30
parent e12717d63a
commit 5525548ced
No known key found for this signature in database
GPG Key ID: 0A55F0FCA0234972

View File

@ -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)