From c8f11f3e62f975280e672091dcd5ffbc3e70aaaa Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Mon, 30 May 2022 15:06:47 +0530 Subject: [PATCH] core: clean the import section import all the libraries at top. Signed-off-by: subhamkrai --- deploy/examples/create-external-cluster-resources.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/deploy/examples/create-external-cluster-resources.py b/deploy/examples/create-external-cluster-resources.py index b68287611..40e0ed7f6 100644 --- a/deploy/examples/create-external-cluster-resources.py +++ b/deploy/examples/create-external-cluster-resources.py @@ -27,6 +27,8 @@ from hashlib import sha1 as sha from os import linesep as LINESEP from os import path import urllib.parse +from email.utils import formatdate +from requests.auth import AuthBase ModuleNotFoundError = ImportError @@ -65,11 +67,6 @@ except: from urllib.parse import urlparse, unquote from base64 import encodebytes as encodestring -from email.utils import formatdate - -from requests.auth import AuthBase -import requests - class ExecutionFailureException(Exception): pass