summaryrefslogtreecommitdiffstats
path: root/platform_helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform_helper.py')
-rw-r--r--platform_helper.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/platform_helper.py b/platform_helper.py
index eab8262..035a671 100644
--- a/platform_helper.py
+++ b/platform_helper.py
@@ -35,7 +35,7 @@ class Platform(object):
self._platform = 'freebsd'
elif self._platform.startswith('openbsd'):
self._platform = 'openbsd'
- elif self._platform.startswith('solaris'):
+ elif self._platform.startswith('solaris') or self._platform == 'sunos5':
self._platform = 'solaris'
elif self._platform.startswith('mingw'):
self._platform = 'mingw'
@@ -78,9 +78,6 @@ class Platform(object):
def is_openbsd(self):
return self._platform == 'openbsd'
- def is_sunos5(self):
- return self._platform == 'sunos5'
-
def is_bitrig(self):
return self._platform == 'bitrig'