mirror of
https://github.com/kennethreitz-archive/its.py.git
synced 2026-06-05 23:20:18 +00:00
The Solaris platform is reported as "sunos<N>", e.g.:
$ python -c 'import sys; print sys.platform' sunos5
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
# ---------
|
||||
|
||||
Reference in New Issue
Block a user