Skip to content
Snippets Groups Projects
Unverified Commit 9df8a683 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony Committed by GitHub
Browse files

Fix OS name comparison

parent eb228ac2
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ from six import with_metaclass
def currentOSHasGSLv2():
""" Check whether the current OS should be running GSLv2 """
return platform.linux_distribution()[0] == "ubuntu" or platform.mac_ver()[0] != ''
return platform.linux_distribution()[0].lower() == "ubuntu" or platform.mac_ver()[0] != ''
class ISISIndirectInelasticBase(with_metaclass(ABCMeta, systemtesting.MantidSystemTest)):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment