From df899fa791750d19ac5a7dc30a1778095d3f8d60 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 1 Jun 2022 12:52:02 +0000 Subject: Adding metadata --- .../entrypoint2/files/entrypoint2-1.0-python311.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 dev-python/entrypoint2/files/entrypoint2-1.0-python311.patch (limited to 'dev-python/entrypoint2/files/entrypoint2-1.0-python311.patch') diff --git a/dev-python/entrypoint2/files/entrypoint2-1.0-python311.patch b/dev-python/entrypoint2/files/entrypoint2-1.0-python311.patch new file mode 100644 index 000000000000..95de1d3b689a --- /dev/null +++ b/dev-python/entrypoint2/files/entrypoint2-1.0-python311.patch @@ -0,0 +1,13 @@ +diff --git a/entrypoint2/__init__.py b/entrypoint2/__init__.py +index 63ab78b..a99a298 100644 +--- a/entrypoint2/__init__.py ++++ b/entrypoint2/__init__.py +@@ -345,7 +345,7 @@ def _correct_args(func, kwargs): + Convert a dictionary of arguments including __argv into a list + for passing to the function. + """ +- args = inspect.getargspec(func)[0] ++ args = inspect.getfullargspec(func)[0] + return [kwargs[arg] for arg in args] + kwargs["__args"] + + -- cgit v1.3.1