Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep up with changes in geventhttpclient #1299

Merged
merged 1 commit into from
May 3, 2024
Merged

Keep up with changes in geventhttpclient #1299

merged 1 commit into from
May 3, 2024

Conversation

PerchunPak
Copy link
Contributor

Fixes #1279

@PerchunPak PerchunPak requested a review from jelmer as a code owner April 28, 2024 15:43
@@ -257,7 +257,7 @@ def swift_auth_v1(self):
if ret.status_code < 200 or ret.status_code >= 300:
raise SwiftException(
"AUTH v1.0 request failed on "
+ f"{str(auth_httpclient.get_base_url()) + path} with error code {ret.status_code} ({ret.items()!s})"
+ f"{self.auth_url} with error code {ret.status_code} ({ret.items()!s})"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if this information is safe to print, I am also unsure why the author of this code used auth_httpclient.get_base_url instead of self.auth_url and if they are equal

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's optimistically assume this is okay. If we're wrong, we can revert and add a comment (and add a comment)

@jelmer jelmer merged commit 5f0497d into jelmer:master May 3, 2024
3 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test_init_connector fails with geventhttpclient>=2.2.1
2 participants