aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/ims
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-07-05 11:33:01 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-07-05 11:33:50 +0200
commitfcc27a06de736d849cf01ddf24fe0edaa03c961f (patch)
tree9d69e9848966a6ae3981a10c8a50e00be02d9215 /functest_kubernetes/ims
parent27aeee74d2feaa5737f598f1659880bcb99728b3 (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.py2
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,