Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/hardware.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-05-12 10:58:46 +0000
committerGitHub <noreply@github.com>2021-05-12 10:58:46 +0000
commitdf6c4e77f721da2b03a510548d281992b25987b2 (patch)
treefc5556c89356cf19140c236d64ba34a368565e63 /archinstall/lib/hardware.py
parent0ef8cc579eba15803f542947c56a15ab9807b09c (diff)
parentaf3d65cc98632042b3b0ef62cfc27553261ec3b0 (diff)
Merge pull request #427 from advaithm/mypy
some type hint fixes and a bad catch fix
Diffstat (limited to 'archinstall/lib/hardware.py')
-rw-r--r--archinstall/lib/hardware.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archinstall/lib/hardware.py b/archinstall/lib/hardware.py
index 185ec1d6..009a3a6c 100644
--- a/archinstall/lib/hardware.py
+++ b/archinstall/lib/hardware.py
@@ -91,6 +91,7 @@ def cpuVendor()-> Optional[str]:
if info.get('field',None):
if info.get('field',None) == "Vendor ID:":
return info.get('data',None)
+ return None
def isVM() -> bool:
try: