Skip to content

Commit 54e8292

Browse files
author
Hugo Osvaldo Barrera
authored
Merge pull request #926 from pimutils/python37-tests
Run tests CI python 3.7
2 parents ecb181d + 8830307 commit 54e8292

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.gitlab-ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
python37:
2+
image: python:3.7
3+
before_script:
4+
- make -e install-dev
5+
script:
6+
- make -e ci-test

vdirsyncer/http.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ async def request(
140140

141141
kwargs.pop("cert", None) # TODO XXX FIXME!
142142

143-
# Hacks to translate API
144-
if auth := kwargs.pop("auth", None):
143+
auth = kwargs.pop("auth", None)
144+
if auth:
145145
kwargs["auth"] = aiohttp.BasicAuth(*auth)
146146

147147
r = func(method, url, ssl=ssl, **kwargs)

0 commit comments

Comments
 (0)