We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a7deff commit 8830307Copy full SHA for 8830307
vdirsyncer/http.py
@@ -140,8 +140,8 @@ async def request(
140
141
kwargs.pop("cert", None) # TODO XXX FIXME!
142
143
- # Hacks to translate API
144
- if auth := kwargs.pop("auth", None):
+ auth = kwargs.pop("auth", None)
+ if auth:
145
kwargs["auth"] = aiohttp.BasicAuth(*auth)
146
147
r = func(method, url, ssl=ssl, **kwargs)
0 commit comments