libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [3/5] libcloud git commit: Remove unused **kwargs from the create_node method.
Date Sun, 29 Mar 2015 15:27:50 GMT
Remove unused **kwargs from the create_node method.


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

Branch: refs/heads/trunk
Commit: dc88ea99731541a368f3ae692ddb3527ddf3d14b
Parents: 92fa286
Author: Tomaz Muraus <tomaz@apache.org>
Authored: Sun Mar 29 17:07:03 2015 +0200
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Sun Mar 29 17:07:03 2015 +0200

----------------------------------------------------------------------
 libcloud/compute/drivers/digitalocean.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/dc88ea99/libcloud/compute/drivers/digitalocean.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/digitalocean.py b/libcloud/compute/drivers/digitalocean.py
index 5daf0e8..0f4beef 100644
--- a/libcloud/compute/drivers/digitalocean.py
+++ b/libcloud/compute/drivers/digitalocean.py
@@ -171,8 +171,7 @@ class DigitalOcean_v1_NodeDriver(DigitalOceanNodeDriver):
         data = self.connection.request('/v1/sizes').object['sizes']
         return list(map(self._to_size, data))
 
-    def create_node(self, name, size, image, location, ex_ssh_key_ids=None,
-                    **kwargs):
+    def create_node(self, name, size, image, location, ex_ssh_key_ids=None):
         """
         Create a node.
 
@@ -319,8 +318,7 @@ class DigitalOcean_v2_NodeDriver(DigitalOceanNodeDriver):
         data = self.connection.request('/v2/sizes').object['sizes']
         return list(map(self._to_size, data))
 
-    def create_node(self, name, size, image, location, ex_ssh_key_ids=None,
-                    **kwargs):
+    def create_node(self, name, size, image, location, ex_ssh_key_ids=None):
         """
         Create a node.
 


Mime
View raw message