swh-lister/swh/lister/bitbucket
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 Use http_retry decorator from swh.core.retry module 2023-04-13 14:19:57 +02:00
__init__.py Remove no longer used models field in dict returned by register 2021-02-02 16:33:52 +01:00
lister.py Ensure HTTPError.response is not None 2023-10-18 10:41:57 +02:00
tasks.py Reimplement Bitbucket lister using new Lister API 2021-01-20 15:28:34 +01:00