You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2015/04/06 17:49:31 UTC
libcloud git commit: Remove unused methods.
Repository: libcloud
Updated Branches:
refs/heads/trunk 3e8aee5c9 -> 3fea8482d
Remove unused methods.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/3fea8482
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/3fea8482
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/3fea8482
Branch: refs/heads/trunk
Commit: 3fea8482d4dce98b36350a0ac3f98fdd3c02e379
Parents: 3e8aee5
Author: Tomaz Muraus <to...@apache.org>
Authored: Mon Apr 6 17:44:18 2015 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Mon Apr 6 17:44:18 2015 +0200
----------------------------------------------------------------------
libcloud/compute/drivers/azure.py | 18 ------------------
1 file changed, 18 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/3fea8482/libcloud/compute/drivers/azure.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/azure.py b/libcloud/compute/drivers/azure.py
index 2129870..0f34809 100644
--- a/libcloud/compute/drivers/azure.py
+++ b/libcloud/compute/drivers/azure.py
@@ -1320,24 +1320,6 @@ class AzureNodeDriver(NodeDriver):
return request.headers
- def send_request_headers(self, connection, request_headers):
- # TODO - unused, remove
- for name, value in request_headers:
- if value:
- connection.putheader(name, value)
-
- connection.putheader('User-Agent', _USER_AGENT_STRING)
- connection.endheaders()
-
- def send_request_body(self, connection, request_body):
- # TODO - unused, remove
- if request_body:
- assert isinstance(request_body, bytes)
- connection.send(request_body)
- elif (not isinstance(connection, HTTPSConnection) and
- not isinstance(connection, httplib.HTTPConnection)):
- connection.send(None)
-
def _parse_response(self, response, return_type):
"""
Parse the HTTPResponse's body and fill all the data into a class of