summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xacprep5
1 files changed, 1 insertions, 4 deletions
diff --git a/acprep b/acprep
index 86637eec..c6665e24 100755
--- a/acprep
+++ b/acprep
@@ -193,10 +193,7 @@ class CommandLineApp(object):
# not let us differentiate between application errors and a case
# where the user has not passed us enough arguments. So, we check
# the argument count ourself.
- if sys.version_info < (3, 10):
- argspec = inspect.getargspec(self.main)
- else:
- argspec = inspect.getfullargspec(self.main)
+ argspec = inspect.getfullargspec(self.main)
expected_arg_count = len(argspec[0]) - 1
if len(main_args) >= expected_arg_count: