index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Lautron <66799530+Lautron@users.noreply.github.com> | 2023-03-26 16:47:36 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-26 21:47:36 +0200 |
commit | 942112f871ee625f21146f444dd19d08f8640c5e (patch) | |
tree | 26c7478e97586990c34570a42e074910e96a9792 /archinstall/lib | |
parent | 6fdfd93e69aa27dd521449d363cdc66cf8429815 (diff) |
-rw-r--r-- | archinstall/lib/packages/packages.py | 3 |
diff --git a/archinstall/lib/packages/packages.py b/archinstall/lib/packages/packages.py index d5834f43..0743e83b 100644 --- a/archinstall/lib/packages/packages.py +++ b/archinstall/lib/packages/packages.py @@ -1,3 +1,4 @@ +import dataclasses import json import ssl from typing import Dict, Any, Tuple, List @@ -112,4 +113,4 @@ def installed_package(package :str) -> LocalPackage: except SysCallError: pass - return LocalPackage(**package_info) + return LocalPackage({field.name: package_info.get(field.name) for field in dataclasses.fields(LocalPackage)}) |