You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by is...@apache.org on 2020/07/17 02:44:38 UTC

[airavata] branch develop updated: Make python 2.7 compatibility

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

isjarana pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new aa6d825  Make python 2.7 compatibility
     new 7e8eae9  Merge pull request #256 from isururanawaka/develop
aa6d825 is described below

commit aa6d82595e797c57decc59db130df17b0f475cd9
Author: Isuru Ranawaka <ir...@gmail.com>
AuthorDate: Thu Jul 16 22:43:45 2020 -0400

    Make python 2.7 compatibility
---
 .../airavata-client-sdks/airavata-python-sdk/transport/utils.py         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/transport/utils.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/transport/utils.py
index 5c32fb9..ed8a637 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/transport/utils.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/transport/utils.py
@@ -70,7 +70,7 @@ class CustomThriftClient(connection_pool.ThriftClient):
     @classmethod
     def get_socket_factory(cls):
         if not cls.secure:
-            return super().get_socket_factory()
+            return connection_pool.ThriftClient.get_socket_factory()
         else:
             def factory(host, port):
                 return TSSLSocket.TSSLSocket(host, port, validate=cls.validate)