swh-lister/swh/lister/gogs
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 gogs: Ensure to list all repositories 2023-06-26 15:16:48 +00:00
__init__.py gogs: Introduce Gogs lister 2022-08-03 16:22:06 +05:30
lister.py Ensure HTTPError.response is not None 2023-10-18 10:41:57 +02:00
tasks.py gogs, gitea: Fix task execution to pass along extra kwargs 2022-12-14 16:09:56 +01:00