Merge pull request #46056 from Ch3LL/ver_mac

Fix mac_assistive module not loading
This commit is contained in:
Nicole Thomas 2018-02-16 09:57:45 -05:00 committed by GitHub
commit 5a31422432
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ def __virtual__():
Only work on Mac OS
'''
if salt.utils.platform.is_darwin() \
and _LooseVersion(__grains__['osrelease']) >= '10.9':
and _LooseVersion(__grains__['osrelease']) >= _LooseVersion('10.9'):
return True
return (
False,