Skip to content
Snippets Groups Projects
Commit 2c357875 authored by Pablo Armingol's avatar Pablo Armingol
Browse files

code clean up

parent 643868dd
No related branches found
No related tags found
2 merge requests!341Draft: Resolve "optical bandwidth expansion",!239Draft: Resolve "(TID) Creation of IP link with supporting coherent pluggable to pluggable connection"
...@@ -48,7 +48,7 @@ def process_descriptors(descriptors): ...@@ -48,7 +48,7 @@ def process_descriptors(descriptors):
descriptor_loader = DescriptorLoader(descriptors, num_workers=DESCRIPTOR_LOADER_NUM_WORKERS) descriptor_loader = DescriptorLoader(descriptors, num_workers=DESCRIPTOR_LOADER_NUM_WORKERS)
results = descriptor_loader.process() results = descriptor_loader.process()
for message,level in compose_notifications(results): for message,level in compose_notifications(results):
if level == 'error': LOGGER.warning('ERROR message servicio ={:s}, {:s}'.format(str(message), str(descriptors))) if level == 'error': LOGGER.warning('ERROR message ={:s}'.format(str(message)))
flash(message, level) flash(message, level)
@main.route('/', methods=['GET', 'POST']) @main.route('/', methods=['GET', 'POST'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment