Skip to content

Commit 4e513e6

Browse files
author
cerman
committed
fix: grammar improvements
1 parent 342df24 commit 4e513e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

redshift_connector/plugin/ping_credentials_provider.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ def get_saml_assertion(self: "PingCredentialsProvider") -> str:
6868
_logger.debug(exec_msg)
6969
raise InterfaceError(exec_msg) from e
7070
except requests.exceptions.TooManyRedirects as e:
71-
exec_msg = "A error occurred when requesting Ping IdP login page. Please verify connection properties are correct."
71+
exec_msg = "An error occurred when requesting Ping IdP login page. Please verify connection properties are correct."
7272
_logger.debug(exec_msg)
7373
raise InterfaceError(exec_msg) from e
7474
except requests.exceptions.RequestException as e:
75-
exec_msg = "A unknown error occurred when requesting Ping IdP login page. Please verify connection properties are correct."
75+
exec_msg = "An unknown error occurred when requesting Ping IdP login page. Please verify connection properties are correct."
7676
_logger.debug(exec_msg)
7777
raise InterfaceError(exec_msg) from e
7878

@@ -180,7 +180,7 @@ def get_saml_assertion(self: "PingCredentialsProvider") -> str:
180180
assertion = inputtag.get("value")
181181

182182
if assertion == "":
183-
exec_msg = "Failed to retrieve SAMLAssertion. A input tag named SAMLResponse was not identified in the Ping IdP authentication response"
183+
exec_msg = "Failed to retrieve SAMLAssertion. An input tag named SAMLResponse was not identified in the Ping IdP authentication response"
184184
_logger.debug(exec_msg)
185185
raise InterfaceError(exec_msg)
186186

0 commit comments

Comments
 (0)