Skip to content

Commit

Permalink
drop trademark symbol from manufacturer name
Browse files Browse the repository at this point in the history
  • Loading branch information
daroczig committed Sep 23, 2024
1 parent 9c1742a commit e3bf53d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sc_crawler/inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,9 @@ def _standardize_manufacturer(manufacturer):
"Amazon EC2",
]:
return None
return manufacturer
# drop the copyright symbol
manufacturer = sub(r"(\([rRcC]\)|®|©)", "", manufacturer)
return manufacturer.strip()


def _standardize_cpu_family(family):
Expand Down

0 comments on commit e3bf53d

Please sign in to comment.