From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 33DB81584AD for ; Sun, 13 Apr 2025 21:15:35 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2094A343100 for ; Sun, 13 Apr 2025 21:15:35 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D67581104C1; Sun, 13 Apr 2025 21:15:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id CF4091104C1 for ; Sun, 13 Apr 2025 21:15:17 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 896E3342FE5 for ; Sun, 13 Apr 2025 21:15:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 87929280C for ; Sun, 13 Apr 2025 21:15:14 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1743886027.3eb417c1c67261283a78b6c3dbc15af7c5a8f2c1.floppym@gentoo> Subject: [gentoo-commits] proj/pambase:master commit in: / X-VCS-Repository: proj/pambase X-VCS-Files: pambase.py X-VCS-Directories: / X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 3eb417c1c67261283a78b6c3dbc15af7c5a8f2c1 X-VCS-Branch: master Date: Sun, 13 Apr 2025 21:15:14 +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: 2c297fb7-4e06-453e-baf7-969551afc194 X-Archives-Hash: de019c2e6df2ffdc80f67b6081935b9c commit: 3eb417c1c67261283a78b6c3dbc15af7c5a8f2c1 Author: Mike Gilbert gentoo org> AuthorDate: Fri Apr 4 18:43:23 2025 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sat Apr 5 20:47:07 2025 +0000 URL: https://gitweb.gentoo.org/proj/pambase.git/commit/?id=3eb417c1 Drop blank variables logic Signed-off-by: Mike Gilbert gentoo.org> pambase.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pambase.py b/pambase.py index 77e31c5..d7ded77 100755 --- a/pambase.py +++ b/pambase.py @@ -89,14 +89,7 @@ def process_args(args): # make sure that output directory exists pathlib.Path("stack").mkdir(parents=True, exist_ok=True) - blank_variables = [ - "unix_extended_encryption", - ] - - # create a blank dictionary - # then add in our parsed args - output = dict.fromkeys(blank_variables, "") - output.update(vars(args)) + output = vars(args) if args.yescrypt: output["unix_extended_encryption"] = "yescrypt shadow"