summaryrefslogtreecommitdiff
path: root/python/test/Ice/ami/Collocated.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/ami/Collocated.py')
-rwxr-xr-xpython/test/Ice/ami/Collocated.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/python/test/Ice/ami/Collocated.py b/python/test/Ice/ami/Collocated.py
index 062ff31f8fb..8336b26a3d9 100755
--- a/python/test/Ice/ami/Collocated.py
+++ b/python/test/Ice/ami/Collocated.py
@@ -31,7 +31,7 @@ def run(args, communicator):
adapter.add(TestI.TestIntfI(), Ice.stringToIdentity("test"))
#adapter.activate() # Collocated test doesn't need to active the OA
-
+
adapter2.add(testController, Ice.stringToIdentity("testController"))
#adapter2.activate() # Collocated test doesn't need to active the OA
@@ -57,10 +57,6 @@ except:
status = False
if communicator:
- try:
- communicator.destroy()
- except:
- traceback.print_exc()
- status = False
+ communicator.destroy()
sys.exit(not status)