summaryrefslogtreecommitdiff
blob: 95de1d3b689abc839abd545e6baf498fe5942a13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"]