swh-lister/swh/lister/gitlab
Jérémy Bobbio (Lunar) 7344d264e7 Ensure HTTPError.response is not None
The implementation of `HTTPError` in `requests` does not guarantee that
the `response` property will always be set. So we need to ensure it is
not `None` before looking for the return code, for example.

This also makes mypy checks pass again, as `types-request` was updated
in 2.31.0.9 to better match this particular aspect. See:
https://github.com/python/typeshed/pull/10875
2023-10-18 10:41:57 +02:00
..
tests lister: Allow lister to build url out of the instance parameter 2023-05-19 15:03:49 +02:00
__init__.py gitlab: Port to the new lister api 2021-01-25 08:51:16 +01:00
lister.py Ensure HTTPError.response is not None 2023-10-18 10:41:57 +02:00
tasks.py gitlab: Adapt celery task implementations to the new lister api 2021-01-25 15:08:31 +01:00