Rename nodelist to node_list
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/aa0bd996 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/aa0bd996 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/aa0bd996 Branch: refs/heads/trunk Commit: aa0bd99630730bc88493ba3a05315471ad48de7b Parents: 390c48b Author: Rick Wright <[email protected]> Authored: Mon Dec 30 08:48:58 2013 -0800 Committer: Rick Wright <[email protected]> Committed: Mon Dec 30 08:48:58 2013 -0800 ---------------------------------------------------------------------- libcloud/compute/drivers/gce.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/aa0bd996/libcloud/compute/drivers/gce.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py index b3a9110..242fe89 100644 --- a/libcloud/compute/drivers/gce.py +++ b/libcloud/compute/drivers/gce.py @@ -2322,14 +2322,14 @@ class GCENodeDriver(NodeDriver): node.extra['boot_disk'].destroy() return True - def ex_destroy_multiple_nodes(self, nodelist, ignore_errors=True, + def ex_destroy_multiple_nodes(self, node_list, ignore_errors=True, destroy_boot_disk=False, poll_interval=2, timeout=DEFAULT_TASK_COMPLETION_TIMEOUT): """ Destroy multiple nodes at once. - :param nodelist: List of nodes to destroy - :type nodelist: ``list`` of :class:`Node` + :param node_list: List of nodes to destroy + :type node_list: ``list`` of :class:`Node` :keyword ignore_errors: If true, don't raise an exception if one or more nodes fails to be destroyed. @@ -2353,7 +2353,7 @@ class GCENodeDriver(NodeDriver): status_list = [] complete = False start_time = time.time() - for node in nodelist: + for node in node_list: request = '/zones/%s/instances/%s' % (node.extra['zone'].name, node.name) try:
