Skip to content

fix Cpu vendor in systemtools#655

Merged
boegel merged 3 commits intoeasybuilders:developfrom
JensTimmerman:cpu_vendor
Jul 1, 2013
Merged

fix Cpu vendor in systemtools#655
boegel merged 3 commits intoeasybuilders:developfrom
JensTimmerman:cpu_vendor

Conversation

@JensTimmerman
Copy link

this should fix #652

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to keep listing the possible constants here? How about:

"""
Try to detect the CPU identifier, will return constant CPU vendor string (e.g., 'Intel', 'AMD', etc.).
"""

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, why not?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because there a millons of CPU vendors out there, and... Ah, well, forget it, fine by me. ;-)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we want to return a constant, so we can compare against it,
it will return 'UNKNOWN' which is probably better then a random string.

@boegel
Copy link
Member

boegel commented Jul 1, 2013

@JensTimmerman: please review remarks to make this eligible for merging in time for v1.6.

boegel added a commit that referenced this pull request Jul 1, 2013
@boegel boegel merged commit 0fa9862 into easybuilders:develop Jul 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants