Skip to content

Commit

Permalink
Handle None cpu model name from archspec
Browse files Browse the repository at this point in the history
Signed-off-by: Theofilos Manitaras <[email protected]>
  • Loading branch information
teojgo committed May 17, 2024
1 parent 593fee9 commit 84f22f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reframe/utility/cpuinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def cpuinfo():
ret = {
'arch': archspec.cpu.host().name,
'vendor': archspec.cpu.host().vendor,
'model': archspec.cpu.brand_string(),
'model': archspec.cpu.brand_string() or 'N/A',
'platform': platform.machine()
}

Expand Down

0 comments on commit 84f22f2

Please sign in to comment.