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-09-06 17:59:43 +0200
committerGitHub <noreply@github.com>2021-09-06 17:59:43 +0200
commit6ead7679073f9a8c50ceb42d0d15b6bfbbbef903 (patch)
tree3602612ea03183a850d07b6160ae246d74df2e48 /archinstall/lib/hardware.py
parente39e49ecc73c327fbb2161a080a7f9b4eacafb21 (diff)
parent712e5d4a70aa02ab10af75abcaefd5729f14eb7d (diff)
Merge pull request #625 from conqp/fix_tab_indentation
Fix indentation with tabs instead of spaces
Diffstat (limited to 'archinstall/lib/hardware.py')
-rw-r--r--archinstall/lib/hardware.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/hardware.py b/archinstall/lib/hardware.py
index 416045c4..d1f160c7 100644
--- a/archinstall/lib/hardware.py
+++ b/archinstall/lib/hardware.py
@@ -80,10 +80,10 @@ def has_wifi() -> bool:
def has_amd_cpu() -> bool:
- return any(cpu.get("vendor_id") == "AuthenticAMD" for cpu in cpuinfo())
+ return any(cpu.get("vendor_id") == "AuthenticAMD" for cpu in cpuinfo())
def has_intel_cpu() -> bool:
- return any(cpu.get("vendor_id") == "GenuineIntel" for cpu in cpuinfo())
+ return any(cpu.get("vendor_id") == "GenuineIntel" for cpu in cpuinfo())
def has_uefi() -> bool:
return os.path.isdir('/sys/firmware/efi')