summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-02-15 12:55:17 +0100
committerBenoit Foucher <benoit@zeroc.com>2013-02-15 12:55:17 +0100
commit62fc8763f1a907e3b69188db1574946ae75ddfbc (patch)
tree5c070ffe97b27e322c7ed3dea659b5f1b1868dea /scripts/TestUtil.py
parentFixed ICE-5159 - Metrics & Instrumentaton APIs documentation (diff)
downloadice-62fc8763f1a907e3b69188db1574946ae75ddfbc.tar.bz2
ice-62fc8763f1a907e3b69188db1574946ae75ddfbc.tar.xz
ice-62fc8763f1a907e3b69188db1574946ae75ddfbc.zip
Fixed ICE-5249 - demoscript/Util.py error
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index 64980988a5c..4651bb3ede9 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -1757,8 +1757,7 @@ def processCmdLine():
iceHome = "/usr"
if not x64:
- x64 = isWin32() and ("PLATFORM" in os.environ and os.environ.get("PLATFORM").upper() == "X64") \
- or ("LP64" in os.environ and os.environ.get("LP64") == "yes")
+ x64 = isWin32() and os.environ.get("PLATFORM", "").upper() == "X64" or os.environ.get("LP64", "") == "yes"
if iceHome:
sys.stdout.write("*** using Ice installation from " + iceHome + " ")
if x64: