add darwin check to common
This commit is contained in:
parent
ce191efc54
commit
87e77565fc
@ -358,3 +358,9 @@ def pythonize(var):
|
||||
if isinstance(var, klass):
|
||||
return klass(var)
|
||||
return var
|
||||
|
||||
def osx_check():
|
||||
if platform.system() in ("Darwin"):
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user