[ARVADOS] updated: 2.1.0-13-g4878068a7

Git user git at public.arvados.org
Fri Oct 16 13:39:35 UTC 2020


Summary of changes:
 sdk/python/arvados/api.py | 4 ++++
 1 file changed, 4 insertions(+)

       via  4878068a7b74974b053c619350f8bd58be029c9b (commit)
      from  e94ddba9d544b173e5b56b41c6ac76ea0b072a26 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 4878068a7b74974b053c619350f8bd58be029c9b
Author: Michael R. Crusoe <michael.crusoe at gmail.com>
Date:   Thu Oct 15 17:16:37 2020 +0200

    SSLHandshakeError is Python 2 only refs #17008
    
    Arvados-DCO-1.1-Signed-off-by: Michael R. Crusoe <mcrusoe at curii.com>

diff --git a/sdk/python/arvados/api.py b/sdk/python/arvados/api.py
index ae687c50b..315fc74a7 100644
--- a/sdk/python/arvados/api.py
+++ b/sdk/python/arvados/api.py
@@ -14,6 +14,7 @@ import logging
 import os
 import re
 import socket
+import sys
 import time
 import types
 
@@ -32,6 +33,9 @@ RETRY_DELAY_INITIAL = 2
 RETRY_DELAY_BACKOFF = 2
 RETRY_COUNT = 2
 
+if sys.version_info >= (3,):
+    httplib2.SSLHandshakeError = None
+
 class OrderedJsonModel(apiclient.model.JsonModel):
     """Model class for JSON that preserves the contents' order.
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list