From 8dcf10b8d69cfee18d34d14d9d3c63faa32b5b5e Mon Sep 17 00:00:00 2001 From: Karolina Przerwa Date: Wed, 11 Oct 2023 15:48:54 +0200 Subject: [PATCH] release: v1.0.4 --- CHANGES.rst | 4 ++++ invenio_github/__init__.py | 2 +- invenio_github/api.py | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 9962216..e4199bc 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -25,6 +25,10 @@ Changes ======= +Version v1.0.4 (released 2023-10-11) + +- api: remove catch all block on contributors of release + Version v1.0.3 (released 2023-10-11) - view: fix badge fetch by PID diff --git a/invenio_github/__init__.py b/invenio_github/__init__.py index 3eabfad..6876875 100644 --- a/invenio_github/__init__.py +++ b/invenio_github/__init__.py @@ -26,6 +26,6 @@ from .ext import InvenioGitHub -__version__ = "1.0.3" +__version__ = "1.0.4" __all__ = ("__version__", "InvenioGitHub") diff --git a/invenio_github/api.py b/invenio_github/api.py index 0400709..1ede30f 100644 --- a/invenio_github/api.py +++ b/invenio_github/api.py @@ -509,6 +509,7 @@ def contributors(self): ).contributors() contributors = list(contributors_iter) if contributors_iter.last_status == 200: + def get_author(contributor): r = requests.get(contributor["url"]) if r.status_code == 200: