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 ad8d24f commit c568744
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 c568744

Please sign in to comment.