From fcc27a06de736d849cf01ddf24fe0edaa03c961f Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 5 Jul 2020 11:33:01 +0200 Subject: Use shallow copy - copy() is py3 only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib470c4ddd36f4b522915e6e131f1b16aee268d15 Signed-off-by: Cédric Ollivier --- functest_kubernetes/ims/ims.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functest_kubernetes') diff --git a/functest_kubernetes/ims/ims.py b/functest_kubernetes/ims/ims.py index 4d1e8c5a..d1882a92 100644 --- a/functest_kubernetes/ims/ims.py +++ b/functest_kubernetes/ims/ims.py @@ -88,7 +88,7 @@ class Vims(testcase.TestCase): self.__logger.debug( "create_namespaced_service: %s", api_response) # pylint: disable=no-member - status = self.deployment_list.copy() + status = self.deployment_list[:] watch_deployment = watch.Watch() for event in watch_deployment.stream( func=self.appsv1.list_namespaced_deployment, -- cgit 1.2.3-korg