mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
cpu-gather: Remove redundant "processor" from CPU data file names
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
9aa1a1ea77
commit
07b7fd6a29
@ -237,7 +237,7 @@ def parse_filename(data):
|
||||
filename = re.sub("\\(([Rr]|[Tt][Mm])\\)", "", filename)
|
||||
filename = re.sub(".*(Intel|AMD) ", "", filename)
|
||||
filename = re.sub(" (Duo|Quad|II X[0-9]+)", " ", filename)
|
||||
filename = re.sub(" (CPU|Processor)", "", filename)
|
||||
filename = re.sub(" (CPU|[Pp]rocessor)", "", filename)
|
||||
filename = re.sub(" @.*", "", filename)
|
||||
filename = re.sub(" APU .*", "", filename)
|
||||
filename = re.sub(" SE$", "", filename)
|
||||
|
Loading…
Reference in New Issue
Block a user