From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ABB8215800D for ; Sat, 31 Dec 2022 07:36:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB5A2E0837; Sat, 31 Dec 2022 07:36:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6500E0837 for ; Sat, 31 Dec 2022 07:36:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0ABF335D92 for ; Sat, 31 Dec 2022 07:36:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C5F67CC for ; Sat, 31 Dec 2022 07:36:48 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1672472140.103472541ea9df637e52bf01af707df831e872a3.arthurzam@gentoo> Subject: [gentoo-commits] proj/pkgcore/snakeoil:master commit in: src/snakeoil/cli/ X-VCS-Repository: proj/pkgcore/snakeoil X-VCS-Files: src/snakeoil/cli/arghparse.py X-VCS-Directories: src/snakeoil/cli/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 103472541ea9df637e52bf01af707df831e872a3 X-VCS-Branch: master Date: Sat, 31 Dec 2022 07:36:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b2f20c7a-f030-40b5-aad1-c6db61fbaae7 X-Archives-Hash: c8a8daceff64d35099783243586f9068 commit: 103472541ea9df637e52bf01af707df831e872a3 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Dec 31 07:35:40 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sat Dec 31 07:35:40 2022 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=10347254 cli.arghparse: fix bind_final_check Follows: 47d21307c44cad87641e20f50f57b3f5d218c0f4 Closes: https://github.com/pkgcore/pkgdev/issues/112 Signed-off-by: Arthur Zamarin gentoo.org> src/snakeoil/cli/arghparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snakeoil/cli/arghparse.py b/src/snakeoil/cli/arghparse.py index a7a29826..a1209092 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)