libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [15/51] [abbrv] libcloud git commit: py 2.6 compat issue
Date Mon, 09 Jan 2017 04:52:35 GMT
py 2.6 compat issue


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/5f255652
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/5f255652
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/5f255652

Branch: refs/heads/trunk
Commit: 5f255652a87368286860e4e327eae4d55dc332a2
Parents: 56e1534
Author: Anthony Shaw <anthonyshaw@apache.org>
Authored: Wed Jan 4 12:33:53 2017 +1100
Committer: Anthony Shaw <anthonyshaw@apache.org>
Committed: Wed Jan 4 12:33:53 2017 +1100

----------------------------------------------------------------------
 libcloud/httplib_ssl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/5f255652/libcloud/httplib_ssl.py
----------------------------------------------------------------------
diff --git a/libcloud/httplib_ssl.py b/libcloud/httplib_ssl.py
index a4b603e..5e78391 100644
--- a/libcloud/httplib_ssl.py
+++ b/libcloud/httplib_ssl.py
@@ -160,7 +160,7 @@ class LibcloudConnection(LibcloudBaseConnection):
     response = None
 
     def __init__(self, host, port, **kwargs):
-        self.host = '{}://{}'.format(
+        self.host = '{0}://{1}'.format(
             'https' if port == 443 else 'http',
             host
         )


Mime
View raw message