Commit 2b71ab67 by Chris Gardner

Fix typo. Solaris 9 should now correctly ignore 'brand' and use 'implementation'.

parent f482649c
...@@ -665,7 +665,7 @@ class SunOSHardware(Hardware): ...@@ -665,7 +665,7 @@ class SunOSHardware(Hardware):
data = line.split(None, 1) data = line.split(None, 1)
key = data[0].strip() key = data[0].strip()
# "brand" works on Solaris 10 & 11. "implementation" for Solaris 9. # "brand" works on Solaris 10 & 11. "implementation" for Solaris 9.
if key == 'module': if key == 'module:':
brand = '' brand = ''
elif key == 'brand': elif key == 'brand':
brand = data[1].strip() brand = data[1].strip()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment