You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2015/03/09 15:36:20 UTC

qpid-proton git commit: NO-JIRA: lack of ssl support should not prevent Container being used

Repository: qpid-proton
Updated Branches:
  refs/heads/master 0b4e9ba54 -> 97ca1441a


NO-JIRA: lack of ssl support should not prevent Container being used


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/97ca1441
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/97ca1441
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/97ca1441

Branch: refs/heads/master
Commit: 97ca1441ab656e54c666a4ac736836ada29900d2
Parents: 0b4e9ba
Author: Gordon Sim <gs...@redhat.com>
Authored: Mon Mar 9 14:37:35 2015 +0000
Committer: Gordon Sim <gs...@redhat.com>
Committed: Mon Mar 9 14:37:45 2015 +0000

----------------------------------------------------------------------
 proton-c/bindings/python/proton/reactor.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/97ca1441/proton-c/bindings/python/proton/reactor.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/proton/reactor.py b/proton-c/bindings/python/proton/reactor.py
index 0c59ff9..4fda15c 100644
--- a/proton-c/bindings/python/proton/reactor.py
+++ b/proton-c/bindings/python/proton/reactor.py
@@ -585,7 +585,10 @@ class Container(Reactor):
     def __init__(self, *handlers, **kwargs):
         super(Container, self).__init__(*handlers, **kwargs)
         if "impl" not in kwargs:
-            self.ssl = SSLConfig()
+            try:
+                self.ssl = SSLConfig()
+            except SSLUnavailable:
+                self.ssl = None
             self.global_handler = GlobalOverrides(kwargs.get('global_handler', self.global_handler))
             self.trigger = None
             self.container_id = str(generate_uuid())


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