You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2015/11/23 18:57:48 UTC
[20/50] [abbrv] qpid-proton git commit: PROTON-1040: ensure timeout
is never None
PROTON-1040: ensure timeout is never None
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/07dc168b
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/07dc168b
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/07dc168b
Branch: refs/heads/go1
Commit: 07dc168b577f88921e97f3b6874741583e93e345
Parents: c0917a0
Author: Gordon Sim <gs...@redhat.com>
Authored: Wed Nov 4 20:10:38 2015 +0000
Committer: Gordon Sim <gs...@redhat.com>
Committed: Wed Nov 4 20:11:14 2015 +0000
----------------------------------------------------------------------
proton-c/bindings/python/proton/utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/07dc168b/proton-c/bindings/python/proton/utils.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/proton/utils.py b/proton-c/bindings/python/proton/utils.py
index e1b084f..bc44adf 100644
--- a/proton-c/bindings/python/proton/utils.py
+++ b/proton-c/bindings/python/proton/utils.py
@@ -192,7 +192,7 @@ class BlockingConnection(Handler):
"""
def __init__(self, url, timeout=None, container=None, ssl_domain=None, heartbeat=None):
self.disconnected = False
- self.timeout = timeout
+ self.timeout = timeout or 60
self.container = container or Container()
self.container.timeout = self.timeout
self.container.start()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org