diff options
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-x | scripts/TestUtil.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py index 3a7823196aa..ad7533add6d 100755 --- a/scripts/TestUtil.py +++ b/scripts/TestUtil.py @@ -838,13 +838,10 @@ def getIceBox(): return iceBox def getIceBoxAdmin(): - - lang = getDefaultMapping() - if lang == "java": - iceBoxAdmin = "IceBox.Admin" + if getDefaultMapping() == "java": + return "IceBox.Admin" else: - iceBoxAdmin = string.replace(getIceBox(), "icebox", "iceboxadmin") - return iceBoxAdmin + return getIceExe("iceboxadmin") def getIceGridAdmin(): return getIceExe("icegridadmin") |