Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nrm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
16
Issues
16
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argo
nrm
Commits
de108bd0
Commit
de108bd0
authored
Jul 03, 2018
by
Swann Perarnau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[style] Fix flake8 warnings.
Trivial style corrections.
parent
6be62fe5
Pipeline
#3587
passed with stages
in 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
aci.py
nrm/aci.py
+2
-0
controller.py
nrm/controller.py
+2
-1
No files found.
nrm/aci.py
View file @
de108bd0
...
...
@@ -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."""
...
...
nrm/controller.py
View file @
de108bd0
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment