diff options
Diffstat (limited to 'java/demo/Ice/hello/expect.py')
-rwxr-xr-x | java/demo/Ice/hello/expect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/demo/Ice/hello/expect.py b/java/demo/Ice/hello/expect.py index 9530e557b43..739538c7aeb 100755 --- a/java/demo/Ice/hello/expect.py +++ b/java/demo/Ice/hello/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 hello server = Util.spawn('java Server --Ice.PrintAdapterReady --Ice.Warn.Connections=0') |