diff options
author | Michi Henning <michi@zeroc.com> | 2007-06-27 13:11:23 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2007-06-27 13:11:23 +1000 |
commit | 11c9552bd13ae9f569dddad69939931349f7ee53 (patch) | |
tree | 9952dd7deddf483c616c1116971ebb3e983c0035 /cs/config/TestUtil.py | |
parent | Remove obsolete feature from Windows installers. (diff) | |
download | ice-11c9552bd13ae9f569dddad69939931349f7ee53.tar.bz2 ice-11c9552bd13ae9f569dddad69939931349f7ee53.tar.xz ice-11c9552bd13ae9f569dddad69939931349f7ee53.zip |
Bug 2270.
Diffstat (limited to 'cs/config/TestUtil.py')
-rw-r--r-- | cs/config/TestUtil.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cs/config/TestUtil.py b/cs/config/TestUtil.py index 18044d08cf6..6ce600ef1dd 100644 --- a/cs/config/TestUtil.py +++ b/cs/config/TestUtil.py @@ -46,16 +46,10 @@ from threading import Thread def isCygwin(): # The substring on sys.platform is required because some cygwin # versions return variations like "cygwin_nt-4.01". - if sys.platform[:6] == "cygwin": - return 1 - else: - return 0 + return sys.platform[:6] == "cygwin" def isWin32(): - if sys.platform == "win32" or isCygwin(): - return 1 - else: - return 0 + return sys.platform == "win32" or isCygwin() def usage(): print "usage: " + sys.argv[0] + " -m|--mono --debug --protocol protocol --compress --host host "\ |