Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / sqlalchemy-migrate / python3.11-comp.diff
blobc8e201b0ca6d896ff58588aeddcd126fc3e0aaba
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)
11 for arg in f_args:
12 parser.add_option(
13 "--%s" % arg,