You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/01/09 04:52:35 UTC
[15/51] [abbrv] libcloud git commit: py 2.6 compat issue
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 <an...@apache.org>
Authored: Wed Jan 4 12:33:53 2017 +1100
Committer: Anthony Shaw <an...@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
)