diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-12-31 09:35:40 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-12-31 09:35:40 +0200 |
commit | 103472541ea9df637e52bf01af707df831e872a3 (patch) | |
tree | 77df690da62cb89f3432728cd3daef4677db5c11 | |
parent | little modernization of snakeoil.cli (diff) | |
download | snakeoil-103472541ea9df637e52bf01af707df831e872a3.tar.gz snakeoil-103472541ea9df637e52bf01af707df831e872a3.tar.bz2 snakeoil-103472541ea9df637e52bf01af707df831e872a3.zip |
cli.arghparse: fix bind_final_check
Follows: 47d21307c44cad87641e20f50f57b3f5d218c0f4
Closes: https://github.com/pkgcore/pkgdev/issues/112
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | src/snakeoil/cli/arghparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snakeoil/cli/arghparse.py b/src/snakeoil/cli/arghparse.py index a7a2982..a120909 100644 --- a/src/snakeoil/cli/arghparse.py +++ b/src/snakeoil/cli/arghparse.py @@ -1309,7 +1309,7 @@ class ArgumentParser(OptionalsParser, CsvActionsParser): self.error(str(exc)) # run final arg validation - for check in set(vars(args).keys()): + for check in set(args.__dict__.keys()): if check.startswith("__final_check__"): functor = args.pop(check) functor(self, args) |