You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2019/03/26 16:56:44 UTC

[qpid-dispatch] branch master updated: DISPATCH-1304: authservice.py program fails at shutdown in python 3

This is an automated email from the ASF dual-hosted git repository.

chug pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new ae97a4d  DISPATCH-1304: authservice.py program fails at shutdown in python 3
ae97a4d is described below

commit ae97a4d608dfda080608c310dd607b4186c06047
Author: Chuck Rolke <ch...@apache.org>
AuthorDate: Tue Mar 26 12:54:58 2019 -0400

    DISPATCH-1304: authservice.py program fails at shutdown in python 3
    
    Container().run() throws an OSError. Catch and ignore the error.
---
 tests/authservice.py.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/authservice.py.in b/tests/authservice.py.in
index 83c2786..a05ad16 100755
--- a/tests/authservice.py.in
+++ b/tests/authservice.py.in
@@ -81,5 +81,7 @@ def sigterm_handler(_signo, _stack_frame):
 
 signal.signal(signal.SIGTERM, sigterm_handler)
 
-Container(handler).run()
-
+try:
+    Container(handler).run()
+except:
+    pass


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org