aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/VES5.0/evel/evel-test-collector
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-24 13:09:34 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-24 13:09:34 +0100
commitbba7ed02826fa1f33189eb1d2d43c74a0d45fe83 (patch)
treeed72ddf5f1b7f9afc145c78a2e7eaf149a37e8ba /vnfs/VES5.0/evel/evel-test-collector
parent3069ed97314d524296e31fab39833d4af9cf1e19 (diff)
Fix indentation issues as reported by pylint
Change-Id: I96c57d08d0030b48a9377eb05c077e26241870a6 Issue-ID: INT-1482 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'vnfs/VES5.0/evel/evel-test-collector')
-rw-r--r--vnfs/VES5.0/evel/evel-test-collector/code/collector/collector.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/vnfs/VES5.0/evel/evel-test-collector/code/collector/collector.py b/vnfs/VES5.0/evel/evel-test-collector/code/collector/collector.py
index 6565e43a..9c878d34 100644
--- a/vnfs/VES5.0/evel/evel-test-collector/code/collector/collector.py
+++ b/vnfs/VES5.0/evel/evel-test-collector/code/collector/collector.py
@@ -468,25 +468,25 @@ USAGE
backupCount=10)
if (transport_prot.lower() == 'https' ):
- transport_prot = transport_prot.lower()
- ca_file = config.get(config_section, 'ca_file', vars=overrides)
- cert_file = config.get(config_section, 'cert_file', vars=overrides)
- key_file = config.get(config_section, 'key_file', vars=overrides)
- if not os.path.exists(ca_file):
+ transport_prot = transport_prot.lower()
+ ca_file = config.get(config_section, 'ca_file', vars=overrides)
+ cert_file = config.get(config_section, 'cert_file', vars=overrides)
+ key_file = config.get(config_section, 'key_file', vars=overrides)
+ if not os.path.exists(ca_file):
logger.error('Event Listener SSL CA File ({0}) not found. '
- 'No validation will be undertaken.'.format(ca_file))
+ 'No validation will be undertaken.'.format(ca_file))
raise RuntimeError('Invalid CA file ({0}) '
- 'specified'.format(ca_file))
- if not os.path.exists(cert_file):
+ 'specified'.format(ca_file))
+ if not os.path.exists(cert_file):
logger.error('Event Listener SSL Certificate File ({0}) not found. '
- 'No validation will be undertaken.'.format(cert_file))
+ 'No validation will be undertaken.'.format(cert_file))
raise RuntimeError('Invalid Certificate file ({0}) '
- 'specified'.format(cert_file))
- if not os.path.exists(key_file):
+ 'specified'.format(cert_file))
+ if not os.path.exists(key_file):
logger.error('Event Listener SSL Key File ({0}) not found. '
- 'No validation will be undertaken.'.format(key_file))
+ 'No validation will be undertaken.'.format(key_file))
raise RuntimeError('Invalid Key file ({0}) '
- 'specified'.format(key_file))
+ 'specified'.format(key_file))
if (platform.system() == 'Windows'):
date_format = '%Y-%m-%d %H:%M:%S'