mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 04:21:17 +00:00
framework/output_processor: fix get_output_processor()
Output processor names are converted to identifiers when they are loaded. Ensure the same thing happens when looking up installed output processors with get_output_processor().
This commit is contained in:
parent
019e5da79e
commit
58c4ae609c
@ -6,6 +6,7 @@ from wa.framework.instruments import is_installed
|
||||
from wa.framework.plugin import Plugin
|
||||
from wa.utils.log import log_error, indent, dedent
|
||||
from wa.utils.misc import isiterable
|
||||
from wa.utils.types import identifier
|
||||
|
||||
|
||||
class OutputProcessor(Plugin):
|
||||
@ -71,6 +72,7 @@ class ProcessorManager(object):
|
||||
if isinstance(processor, OutputProcessor):
|
||||
return processor
|
||||
|
||||
processor = identifier(processor)
|
||||
for p in self.processors:
|
||||
if processor == p.name:
|
||||
return p
|
||||
|
Loading…
x
Reference in New Issue
Block a user