summaryrefslogtreecommitdiff
path: root/demoscript/Util.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-10-15 23:46:19 +0200
committerJose <jose@zeroc.com>2012-10-15 23:46:19 +0200
commit1630650834e4f557aedf0d1a03e0ea1ffaf6cd37 (patch)
treebc283f1f20c8346358491cc273909b3ed0152d61 /demoscript/Util.py
parentRemoved "cerr" debug statement from Slice::Parser (diff)
downloadice-1630650834e4f557aedf0d1a03e0ea1ffaf6cd37.tar.bz2
ice-1630650834e4f557aedf0d1a03e0ea1ffaf6cd37.tar.xz
ice-1630650834e4f557aedf0d1a03e0ea1ffaf6cd37.zip
Demo scripts minor fix
Diffstat (limited to 'demoscript/Util.py')
-rw-r--r--demoscript/Util.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/demoscript/Util.py b/demoscript/Util.py
index 82de03fe2cc..9a78fb39d41 100644
--- a/demoscript/Util.py
+++ b/demoscript/Util.py
@@ -208,6 +208,9 @@ def getIceDir(subdir = None):
def isWin32():
return sys.platform == "win32"
+def isCompactFramework():
+ return isWin32() and ("COMPACT" in os.environ and os.environ["COMPACT"] == "yes")
+
def isSolaris():
return sys.platform == "sunos5"