Commit de108bd0 authored by Swann Perarnau's avatar Swann Perarnau
Browse files

[style] Fix flake8 warnings.

Trivial style corrections.
parent 6be62fe5
Pipeline #3587 passed with stages
in 29 seconds
...@@ -125,6 +125,7 @@ class Container(SpecField): ...@@ -125,6 +125,7 @@ class Container(SpecField):
"""Load container information.""" """Load container information."""
return super(Container, self).load(data) return super(Container, self).load(data)
class PerfWrapper(SpecField): class PerfWrapper(SpecField):
"""Information on whether to use perf for a container.""" """Information on whether to use perf for a container."""
...@@ -147,6 +148,7 @@ class PerfWrapper(SpecField): ...@@ -147,6 +148,7 @@ class PerfWrapper(SpecField):
return False return False
return True return True
class IsolatorList(SpecField): class IsolatorList(SpecField):
"""Represent the list of isolator in a Manifest.""" """Represent the list of isolator in a Manifest."""
......
...@@ -74,7 +74,8 @@ class PowerActuator(object): ...@@ -74,7 +74,8 @@ class PowerActuator(object):
return actions return actions
def execute(self, action): def execute(self, action):
logger.info("changing power limit: %r, %r", action.command, action.delta) logger.info("changing power limit: %r, %r", action.command,
action.delta)
self.sensor_manager.set_powerlimit(action.target, action.command) self.sensor_manager.set_powerlimit(action.target, action.command)
def update(self, action): def update(self, action):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment