summaryrefslogtreecommitdiff
path: root/python/test/Ice/dispatcher/Server.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/dispatcher/Server.py')
-rwxr-xr-xpython/test/Ice/dispatcher/Server.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/test/Ice/dispatcher/Server.py b/python/test/Ice/dispatcher/Server.py
index 59c9438eaa6..f706e6d7783 100755
--- a/python/test/Ice/dispatcher/Server.py
+++ b/python/test/Ice/dispatcher/Server.py
@@ -52,7 +52,8 @@ try:
#
initData.properties.setProperty("Ice.TCP.RcvSize", "50000")
- initData.dispatcher = Dispatcher.Dispatcher()
+ d = Dispatcher.Dispatcher()
+ initData.dispatcher = d.dispatch
with Ice.initialize(sys.argv, initData) as communicator:
status = run(sys.argv, communicator)