summaryrefslogtreecommitdiff
path: root/cpp/allDemos.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/allDemos.py')
-rwxr-xr-xcpp/allDemos.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/allDemos.py b/cpp/allDemos.py
index b07ff86af3e..b08be87876e 100755
--- a/cpp/allDemos.py
+++ b/cpp/allDemos.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# **********************************************************************
#
-# Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
+# Copyright (c) 2003-2012 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.
@@ -15,7 +15,7 @@ for toplevel in [".", "..", "../..", "../../..", "../../../.."]:
if os.path.exists(os.path.join(toplevel, "demoscript")):
break
else:
- raise "can't find toplevel directory!"
+ raise RuntimeError("can't find toplevel directory!")
sys.path.append(os.path.join(toplevel))
from demoscript import Util