Skip to content

Commit

Permalink
Merge pull request #4030 from nickzhq/bug_at_patch3637
Browse files Browse the repository at this point in the history
vt_utils/cpu.py: fix bug
  • Loading branch information
YongxueHong authored Nov 26, 2024
2 parents 3d3bb04 + 547167e commit 15fbf53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virttest/vt_utils/cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_cpu_model_name():
cpu_model = re.search(cpu_model_re, cpu_model)
if not cpu_model:
raise OSError("The cpu model name was NOT found!")
cpu_model = cpu_model.groups()[0]
cpu_model = cpu_model.group()
return cpu_model.split(":", 1)[-1].strip()


Expand Down

0 comments on commit 15fbf53

Please sign in to comment.