Updated Branches: refs/heads/trunk 7e5f2b3cb -> 5fc50730b
Use super instead of NodeDriver.__init__. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/c4e4ae2f Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/c4e4ae2f Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/c4e4ae2f Branch: refs/heads/trunk Commit: c4e4ae2f536ae3ef22ed2c767d05c7c12afdbfd6 Parents: 7e5f2b3 Author: Tomaz Muraus <[email protected]> Authored: Wed Nov 20 12:04:16 2013 +0100 Committer: Tomaz Muraus <[email protected]> Committed: Wed Nov 20 12:04:16 2013 +0100 ---------------------------------------------------------------------- libcloud/compute/drivers/cloudstack.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/c4e4ae2f/libcloud/compute/drivers/cloudstack.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/cloudstack.py b/libcloud/compute/drivers/cloudstack.py index 6870bf9..6b3f962 100644 --- a/libcloud/compute/drivers/cloudstack.py +++ b/libcloud/compute/drivers/cloudstack.py @@ -251,8 +251,11 @@ class CloudStackNodeDriver(CloudStackDriverMixIn, NodeDriver): 'you also need to provide url or host and path ' 'argument') - NodeDriver.__init__(self, key=key, secret=secret, secure=secure, - host=host, port=port) + super(CloudStackNodeDriver, self).__init__(key=key, + secret=secret, + secure=secure, + host=host, + port=port) def list_images(self, location=None): args = {
