summaryrefslogtreecommitdiff
path: root/cpp/allDemos.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/allDemos.py')
-rwxr-xr-xcpp/allDemos.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/allDemos.py b/cpp/allDemos.py
index 0fe6c8f2991..cf7015fe9be 100755
--- a/cpp/allDemos.py
+++ b/cpp/allDemos.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# **********************************************************************
#
-# Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
+# Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
@@ -17,8 +17,8 @@ for toplevel in [".", "..", "../..", "../../..", "../../../.."]:
else:
raise "can't find toplevel directory!"
-sys.path.append(os.path.join(toplevel, "demoscript"))
-import Util
+sys.path.append(os.path.join(toplevel))
+from demoscript import Util
#
# List of all basic demos.