Modify GoGridConnection to call parent request method with an empty string for 'data' argument.
Contributed by Bob Thompson, part of LIBCLOUD-362. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/9e94e399 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/9e94e399 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/9e94e399 Branch: refs/heads/0.13.1 Commit: 9e94e399398ff15bcba9921b5b6d3977a44d27de Parents: a73cc09 Author: Tomaz Muraus <[email protected]> Authored: Thu Aug 8 15:26:50 2013 +0200 Committer: Tomaz Muraus <[email protected]> Committed: Wed Sep 4 11:58:06 2013 +0200 ---------------------------------------------------------------------- libcloud/common/gogrid.py | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/9e94e399/libcloud/common/gogrid.py ---------------------------------------------------------------------- diff --git a/libcloud/common/gogrid.py b/libcloud/common/gogrid.py index a56ba3b..acc0c8d 100644 --- a/libcloud/common/gogrid.py +++ b/libcloud/common/gogrid.py @@ -82,6 +82,10 @@ class GoGridConnection(ConnectionUserAndKey): m = hashlib.md5(b(key + secret + str(int(time.time())))) return m.hexdigest() + def request(self, action, params=None, data='', headers=None, method='GET', raw=False): + return super(GoGridConnection, self).request(action, params, data, + headers, method, raw) + class GoGridIpAddress(object): """
