diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-01-25 18:42:10 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-01-25 18:42:10 +0100 |
commit | 524c89c8c5ea8be6d989c855095cf4c58097e654 (patch) | |
tree | 697a384847d23d3d84345b84339f42d63d45687a /python/test/Ice/acm | |
parent | Fixed ICE-7281 - skipEmptyEncapsulation now checks for the encoding version (diff) | |
download | ice-524c89c8c5ea8be6d989c855095cf4c58097e654.tar.bz2 ice-524c89c8c5ea8be6d989c855095cf4c58097e654.tar.xz ice-524c89c8c5ea8be6d989c855095cf4c58097e654.zip |
First cut of ICE-6920 - Remove try/catch block around communicator destroy
Diffstat (limited to 'python/test/Ice/acm')
-rwxr-xr-x | python/test/Ice/acm/Client.py | 6 | ||||
-rwxr-xr-x | python/test/Ice/acm/Server.py | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/python/test/Ice/acm/Client.py b/python/test/Ice/acm/Client.py index b14e5063ddd..8e9586ab9f7 100755 --- a/python/test/Ice/acm/Client.py +++ b/python/test/Ice/acm/Client.py @@ -39,10 +39,6 @@ except: status = False if communicator: - try: - communicator.destroy() - except: - traceback.print_exc() - status = False + communicator.destroy() sys.exit(not status) diff --git a/python/test/Ice/acm/Server.py b/python/test/Ice/acm/Server.py index 78f2486754b..2db5b7dece5 100755 --- a/python/test/Ice/acm/Server.py +++ b/python/test/Ice/acm/Server.py @@ -44,10 +44,6 @@ except: status = False if communicator: - try: - communicator.destroy() - except: - traceback.print_exc() - status = False + communicator.destroy() sys.exit(not status) |