libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [10/14] git commit: Default data to None.
Date Sat, 15 Jun 2013 06:28:20 GMT
Default data to None.


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

Branch: refs/heads/0.12.x
Commit: e94106f3b3d3d33cc403f5c0ee9cf0dadf697143
Parents: fa1a531
Author: Tomaz Muraus <tomaz@tomaz.me>
Authored: Fri Jun 14 22:28:37 2013 -0700
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Fri Jun 14 23:21:57 2013 -0700

----------------------------------------------------------------------
 libcloud/common/base.py | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/e94106f3/libcloud/common/base.py
----------------------------------------------------------------------
diff --git a/libcloud/common/base.py b/libcloud/common/base.py
index a5d2a49..ae0f732 100644
--- a/libcloud/common/base.py
+++ b/libcloud/common/base.py
@@ -529,13 +529,8 @@ class Connection(object):
         """
         self.ua.append(token)
 
-    def request(self,
-                action,
-                params=None,
-                data='',
-                headers=None,
-                method='GET',
-                raw=False):
+    def request(self, action, params=None, data=None, headers=None,
+                method='GET', raw=False):
         """
         Request a given `action`.
 


Mime
View raw message