commit:     3eb417c1c67261283a78b6c3dbc15af7c5a8f2c1
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  4 18:43:23 2025 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> 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 <floppym <AT> 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"

Reply via email to