add darwin check to common

This commit is contained in:
Marcos Pinto 2008-10-23 07:22:08 +00:00
parent 310d1e4e6e
commit 16cc7be912

View file

@ -314,3 +314,9 @@ def is_ip(ip):
return True
except socket.error:
return False
def osx_check():
if platform.system() in ("Darwin"):
return True
else:
return False