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 <[email protected]> Authored: Fri Jun 14 22:28:37 2013 -0700 Committer: Tomaz Muraus <[email protected]> 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`.
