From de108bd01d27e4a1aaee5e86abb89781b6925664 Mon Sep 17 00:00:00 2001 From: Swann Perarnau Date: Tue, 3 Jul 2018 11:27:51 -0500 Subject: [PATCH] [style] Fix flake8 warnings. Trivial style corrections. --- nrm/aci.py | 2 ++ nrm/controller.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/nrm/aci.py b/nrm/aci.py index bce4eb0..55c80f1 100644 --- a/nrm/aci.py +++ b/nrm/aci.py @@ -125,6 +125,7 @@ class Container(SpecField): """Load container information.""" return super(Container, self).load(data) + class PerfWrapper(SpecField): """Information on whether to use perf for a container.""" @@ -147,6 +148,7 @@ class PerfWrapper(SpecField): return False return True + class IsolatorList(SpecField): """Represent the list of isolator in a Manifest.""" diff --git a/nrm/controller.py b/nrm/controller.py index 564a1fb..9d7fd05 100644 --- a/nrm/controller.py +++ b/nrm/controller.py @@ -74,7 +74,8 @@ class PowerActuator(object): return actions 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) def update(self, action): -- 2.26.2