aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/vcpecommon.py
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-05 10:28:03 +0100
committerMarco Platania <platania@research.att.com>2020-03-05 15:26:40 +0000
commit3d3d3c28d88d1f7bad2b9a274fe9ad4cfaf01554 (patch)
tree2f33b3f16289d8555173f011737d611515e7541b /test/vcpe/vcpecommon.py
parent5d8a1df2dbfd99fa87e792c584ac220187c9928e (diff)
Fix indentation and whitespace issues in Python scripts
Reported by pylint. Change-Id: I9d5ee152f3587bb2d7e8abee919e4ffe47d8ae85 Issue-ID: INT-1427 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'test/vcpe/vcpecommon.py')
-rwxr-xr-xtest/vcpe/vcpecommon.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/vcpe/vcpecommon.py b/test/vcpe/vcpecommon.py
index 932766f30..8eeb68e9a 100755
--- a/test/vcpe/vcpecommon.py
+++ b/test/vcpe/vcpecommon.py
@@ -207,13 +207,13 @@ class VcpeCommon:
# to conform to openstack cli client
self.cloud = {}
for k in os_cloud:
- if isinstance(os_cloud[k],dict):
- for sub_k in os_cloud[k]:
- os_setting_name = '--os-' + sub_k.replace('_','-')
- self.cloud[os_setting_name] = os_cloud[k][sub_k]
- else:
- os_setting_name = '--os-' + k.replace('_','-')
- self.cloud[os_setting_name] = os_cloud[k]
+ if isinstance(os_cloud[k],dict):
+ for sub_k in os_cloud[k]:
+ os_setting_name = '--os-' + sub_k.replace('_','-')
+ self.cloud[os_setting_name] = os_cloud[k][sub_k]
+ else:
+ os_setting_name = '--os-' + k.replace('_','-')
+ self.cloud[os_setting_name] = os_cloud[k]
def heatbridge(self, openstack_stack_name, svc_instance_uuid):
"""