From 7064f5f0b8094877459f4b6ed2eff72627a19750 Mon Sep 17 00:00:00 2001 From: PerchunPak Date: Sun, 28 Apr 2024 17:42:10 +0200 Subject: [PATCH] Keep up with changes in geventhttpclient --- dulwich/contrib/swift.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dulwich/contrib/swift.py b/dulwich/contrib/swift.py index f4fa17672..41faede02 100644 --- a/dulwich/contrib/swift.py +++ b/dulwich/contrib/swift.py @@ -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})" ) storage_url = ret["X-Storage-Url"] token = ret["X-Auth-Token"]