depot/third_party/nixpkgs/pkgs/development/python-modules/sqlalchemy-migrate/python3.11-comp.diff
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

13 lines
580 B
Diff

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