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/cf32adf3 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/cf32adf3 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/cf32adf3 Branch: refs/heads/trunk Commit: cf32adf36cc48e2f51c3b9466a57e6c2280ec374 Parents: 8c4217a Author: Tomaz Muraus <[email protected]> Authored: Fri Jun 14 22:28:37 2013 -0700 Committer: Tomaz Muraus <[email protected]> Committed: Fri Jun 14 22:28:37 2013 -0700 ---------------------------------------------------------------------- libcloud/common/base.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/cf32adf3/libcloud/common/base.py ---------------------------------------------------------------------- diff --git a/libcloud/common/base.py b/libcloud/common/base.py index 7b8cf0d..edbda17 100644 --- a/libcloud/common/base.py +++ b/libcloud/common/base.py @@ -509,13 +509,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`.
