From 8a049640685aeca21d17aefb0a47f12ab4f1c1a2 Mon Sep 17 00:00:00 2001 From: David Shrewsbury Date: Fri, 26 May 2017 13:26:34 -0400 Subject: [PATCH] Remove unnecessary list() Fixing nit from https://review.openstack.org/468409 Change-Id: Id2ee011800add202cb4dda745987465c2c774d56 --- nodepool/launcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodepool/launcher.py b/nodepool/launcher.py index 2ca1fb4a0..73d016203 100644 --- a/nodepool/launcher.py +++ b/nodepool/launcher.py @@ -1455,7 +1455,7 @@ class NodePool(threading.Thread): # Use a copy of the labels because we modify _submittedRequests # within the loop below. - requested_labels = list(self._submittedRequests.keys()) + requested_labels = self._submittedRequests.keys() for label in requested_labels: label_requests = self._submittedRequests[label]