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 2013/08/08 15:27:52 UTC

git commit: Modify GoGridConnection to call parent request method with an empty string for 'data' argument.

Updated Branches:
  refs/heads/trunk 80d59cb8b -> c32bb6cf4


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/c32bb6cf
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/c32bb6cf
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/c32bb6cf

Branch: refs/heads/trunk
Commit: c32bb6cf4c7955f0f828c44354112db7014ac5fa
Parents: 80d59cb
Author: Tomaz Muraus <to...@apache.org>
Authored: Thu Aug 8 15:26:50 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Thu Aug 8 15:26:50 2013 +0200

----------------------------------------------------------------------
 libcloud/common/gogrid.py | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/c32bb6cf/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):
     """