summaryrefslogtreecommitdiff
path: root/rb/config/TestUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'rb/config/TestUtil.py')
-rw-r--r--rb/config/TestUtil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rb/config/TestUtil.py b/rb/config/TestUtil.py
index f532cdd0bef..bf639a68964 100644
--- a/rb/config/TestUtil.py
+++ b/rb/config/TestUtil.py
@@ -78,7 +78,7 @@ for o, a in opts:
#
# Check for ICE_HOME.
#
-ice_home = os.environ["ICE_HOME"]
+ice_home = os.getenv("ICE_HOME", "")
if len(ice_home) == 0:
print "ICE_HOME is not defined"
sys.exit(1)