1 diff --git a/migrate/versioning/shell.py b/migrate/versioning/shell.py
2 index 5fb86b1..fae0ce4 100644
3 --- a/migrate/versioning/shell.py
4 +++ b/migrate/versioning/shell.py
5 @@ -108,7 +108,7 @@ def main(argv=None, **kwargs):
6 parser.error("Invalid command %s" % command)
8 parser.set_usage(inspect.getdoc(command_func))
9 - f_args, f_varargs, f_kwargs, f_defaults = inspect.getargspec(command_func)
10 + f_args, f_varargs, f_kwargs, f_defaults, _, _, _ = inspect.getfullargspec(command_func)