index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel Girtler <blackrabbit256@gmail.com> | 2022-05-02 21:02:21 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 13:02:21 +0200 |
commit | 2d371571783cde70554e3e4e272beab2546ffff9 (patch) | |
tree | 24351623f0f917902701d325f13d1fd4b59d755b /archinstall/lib/user_interaction/manage_users_conf.py | |
parent | f00717ff6fd1c72d61b6928444fbf26a3f5e0e64 (diff) |
-rw-r--r-- | archinstall/lib/user_interaction/manage_users_conf.py | 4 |
diff --git a/archinstall/lib/user_interaction/manage_users_conf.py b/archinstall/lib/user_interaction/manage_users_conf.py index a6ff3111..d69ccce9 100644 --- a/archinstall/lib/user_interaction/manage_users_conf.py +++ b/archinstall/lib/user_interaction/manage_users_conf.py @@ -36,7 +36,7 @@ class UserList(ListManager): ] super().__init__(prompt, lusers, self.actions, self.actions[0]) - def reformat(self, data: Any) -> List[Any]: + def reformat(self, data: List) -> Dict: def format_element(elem :str): # secret gives away the length of the password if data[elem].get('!password'): @@ -49,7 +49,7 @@ class UserList(ListManager): super_user = ' ' return f"{elem:16}: password {pwd:16} {super_user}" - return list(map(lambda x: format_element(x), data)) + return {format_element(e): e for e in data} def action_list(self): if self.target: |