add darwin check to common

This commit is contained in:
Marcos Pinto 2008-10-23 07:22:08 +00:00
parent ce191efc54
commit 87e77565fc

View file

@ -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