refactoring contexts, moved json writer to a class as it make more sense.

This commit is contained in:
Romain Dorgueil
2016-12-27 09:06:44 +01:00
parent f37f178630
commit 512e2ab46d
8 changed files with 173 additions and 140 deletions

View File

@ -76,7 +76,7 @@ class ConsoleOutputPlugin(Plugin):
t_cnt = len(context)
for i, component in enumerate(context):
if component.running:
if component.alive:
_line = ''.join((
t.black('({})'.format(i + 1)),
' ',