index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Richard Neumann <mail@richard-neumann.de> | 2021-10-21 22:50:49 +0200 |
---|---|---|
committer | Richard Neumann <mail@richard-neumann.de> | 2021-10-21 22:50:49 +0200 |
commit | 4f6cec5069023198b047cb61e3e65fb37a93d577 (patch) | |
tree | 9b377b5ef90c16cdaf3d7998855b184e131afce5 /archinstall/lib | |
parent | ca25c356b687ffe9a2b63494de97607e8adc68ca (diff) |
-rw-r--r-- | archinstall/lib/hardware.py | 2 |
diff --git a/archinstall/lib/hardware.py b/archinstall/lib/hardware.py index e4308638..4f8192e4 100644 --- a/archinstall/lib/hardware.py +++ b/archinstall/lib/hardware.py @@ -79,8 +79,6 @@ def meminfo(key: Optional[str] = None) -> Union[dict[str, int], int]: """Returns a dict with memory info if called with no args or the value of the given key of said dict. """ - mem_info = {} - with MEMINFO.open() as file: mem_info = { (columns := line.strip().split())[0].rstrip(':'): int(columns[1]) |