mirror of
https://github.com/frappe/bench.git
synced 2025-02-04 03:48:24 +00:00
perf: Remove six.moves.urllib from the import tree
This commit is contained in:
parent
e12717d63a
commit
5525548ced
@ -3,7 +3,6 @@ import os
|
|||||||
|
|
||||||
# imports - third party imports
|
# imports - third party imports
|
||||||
import click
|
import click
|
||||||
from six.moves.urllib.request import urlretrieve
|
|
||||||
|
|
||||||
# imports - module imports
|
# imports - module imports
|
||||||
import bench
|
import bench
|
||||||
@ -107,6 +106,8 @@ def create_dir_if_missing(path):
|
|||||||
|
|
||||||
|
|
||||||
def get_certbot():
|
def get_certbot():
|
||||||
|
from six.moves.urllib.request import urlretrieve
|
||||||
|
|
||||||
certbot_path = get_certbot_path()
|
certbot_path = get_certbot_path()
|
||||||
create_dir_if_missing(certbot_path)
|
create_dir_if_missing(certbot_path)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user