mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
Removed unused imports + print
This commit is contained in:
parent
97d822c2b7
commit
467347d5a3
@ -14,7 +14,7 @@
|
||||
#
|
||||
|
||||
from wlauto.core.configuration import settings # NOQA
|
||||
from wlauto.core.device_manager import DeviceManager, RuntimeParameter, CoreParameter # NOQA
|
||||
from wlauto.core.device_manager import DeviceManager # NOQA
|
||||
from wlauto.core.command import Command # NOQA
|
||||
from wlauto.core.workload import Workload # NOQA
|
||||
from wlauto.core.plugin import Artifact, Alias # NOQA
|
||||
|
@ -23,7 +23,6 @@ from wlauto.common.resources import Executable
|
||||
from wlauto.core.resource import NO_ONE
|
||||
from wlauto.core.resolver import ResourceResolver
|
||||
from wlauto.core.configuration import RunConfiguration
|
||||
from wlauto.core.agenda import Agenda
|
||||
from wlauto.common.android.workload import ApkWorkload
|
||||
|
||||
|
||||
|
@ -16,7 +16,6 @@ import os
|
||||
import re
|
||||
from copy import copy
|
||||
from collections import OrderedDict, defaultdict
|
||||
from devlib import TargetError
|
||||
|
||||
from wlauto.exceptions import ConfigError
|
||||
from wlauto.utils.misc import (get_article, merge_config_values)
|
||||
@ -320,7 +319,7 @@ class ConfigurationPoint(object):
|
||||
def __repr__(self):
|
||||
d = copy(self.__dict__)
|
||||
del d['description']
|
||||
return 'ConfPoint({})'.format(d)
|
||||
return 'ConfigurationPoint({})'.format(d)
|
||||
|
||||
__str__ = __repr__
|
||||
|
||||
@ -428,6 +427,7 @@ class RuntimeParameterManager(object):
|
||||
### RuntimeParameterManagers ###
|
||||
################################
|
||||
|
||||
|
||||
class CpuFreqParameters(object):
|
||||
|
||||
runtime_parameters = {
|
||||
@ -901,7 +901,6 @@ class JobSpec(Configuration):
|
||||
# Merge
|
||||
self.runtime_parameters = target_manager.merge_runtime_parameters(runtime_parameters)
|
||||
|
||||
|
||||
def finalize(self):
|
||||
self.id = "-".join([source.config['id'] for source in self._sources[1:]]) # ignore first id, "global"
|
||||
|
||||
|
@ -65,7 +65,6 @@ class PluginCache(object):
|
||||
self.global_alias_values[alias][source] = value
|
||||
|
||||
def add_configs(self, plugin_name, values, source):
|
||||
print plugin_name, values
|
||||
if self.is_global_alias(plugin_name):
|
||||
self.add_global_alias(plugin_name, values, source)
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user