diff options
Diffstat (limited to 'cs/demo/Ice/callback/expect.py')
-rwxr-xr-x | cs/demo/Ice/callback/expect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cs/demo/Ice/callback/expect.py b/cs/demo/Ice/callback/expect.py index c0f99627fc2..ca6af990d77 100755 --- a/cs/demo/Ice/callback/expect.py +++ b/cs/demo/Ice/callback/expect.py @@ -16,10 +16,10 @@ if len(head) > 0: path = [os.path.join(head, p) for p in path] path = [os.path.abspath(p) for p in path if os.path.exists(os.path.join(p, "demoscript")) ] if len(path) == 0: - raise "can't find toplevel directory!" + raise RuntimeError("can't find toplevel directory!") sys.path.append(path[0]) -from demoscript import * +from demoscript import Util from demoscript.Ice import callback server = Util.spawn('server.exe --Ice.PrintAdapterReady') |