mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-05-31 02:57:32 -07:00
14 lines
466 B
Diff
14 lines
466 B
Diff
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"]
|
|
|
|
|