diff options
author | 2020-07-05 11:33:01 +0200 | |
---|---|---|
committer | 2020-07-05 11:33:50 +0200 | |
commit | fcc27a06de736d849cf01ddf24fe0edaa03c961f (patch) | |
tree | 9d69e9848966a6ae3981a10c8a50e00be02d9215 /functest_kubernetes/ims | |
parent | 27aeee74d2feaa5737f598f1659880bcb99728b3 (diff) |
Use shallow copy - copy() is py3 only
Change-Id: Ib470c4ddd36f4b522915e6e131f1b16aee268d15
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest_kubernetes/ims')
-rw-r--r-- | functest_kubernetes/ims/ims.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |