From 5e93c5d687a3da71bbf2daf0ccdf6e261e5e51fd Mon Sep 17 00:00:00 2001 From: Matt Good Date: Tue, 15 May 2012 10:02:07 -0700 Subject: [PATCH] The Solaris platform is reported as "sunos", e.g.: $ python -c 'import sys; print sys.platform' sunos5 --- its.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/its.py b/its.py index a2f3be0..593e6a7 100644 --- a/its.py +++ b/its.py @@ -74,7 +74,7 @@ windows = 'win32' in str(sys.platform).lower() linux = ('linux' in str(sys.platform).lower()) osx = ('darwin' in str(sys.platform).lower()) hpux = ('hpux' in str(sys.platform).lower()) # Complete guess. -solaris = ('solaris' in str(sys.platform).lower()) # Complete guess. +solaris = ('sunos' in str(sys.platform).lower()) # Complete guess. # ---------