UNCLASSIFIED

Commit e94d48b2 authored by Ian Dunbar-Hall's avatar Ian Dunbar-Hall
Browse files

Spelling updates, thanks @jeremy.e.snyder7.ctr for the MR comments!

parent 9aaef49a
Pipeline #24801 passed with stage
in 34 seconds
...@@ -202,7 +202,7 @@ def mirror_image(session, registry_image_name: str, registry_user: str, registry ...@@ -202,7 +202,7 @@ def mirror_image(session, registry_image_name: str, registry_user: str, registry
with session.get(image_details["imageTar"], stream=True) as response: with session.get(image_details["imageTar"], stream=True) as response:
with open(image_tar, 'wb') as tar_download: with open(image_tar, 'wb') as tar_download:
shutil.copyfileobj(response.raw, tar_download) shutil.copyfileobj(response.raw, tar_download)
print("\tdowloaded tar separately", flush=True) print("\tdownloaded tar separately", flush=True)
except ProxyError: except ProxyError:
print("Proxy Error Occurred", flush=True, file=sys.stderr) print("Proxy Error Occurred", flush=True, file=sys.stderr)
return False return False
......
...@@ -58,7 +58,7 @@ class Session: ...@@ -58,7 +58,7 @@ class Session:
# AttributeError exception occurs when beautiful soup fails to find a id. # AttributeError exception occurs when beautiful soup fails to find a id.
# Typically this will be the 'kc-form-login' or 'kc-totp-login-form' ids. # Typically this will be the 'kc-form-login' or 'kc-totp-login-form' ids.
except AttributeError: except AttributeError:
raise LoginError("Error logging into Iron Bank, login form likey changed") raise LoginError("Error logging into Iron Bank, login form likely changed")
def get(self, path: str, stream: bool = False, verify: bool = False, max_retries: int = 10, def get(self, path: str, stream: bool = False, verify: bool = False, max_retries: int = 10,
retry_sleep: int = 10, dcar_url: str = "https://dcar.dsop.io", retry_sleep: int = 10, dcar_url: str = "https://dcar.dsop.io",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment