Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
nrm
Commits
3054b894
Commit
3054b894
authored
Dec 14, 2017
by
Swann Perarnau
Browse files
[style] pep8 and other small style fixes
Remove unused import, commas at the end of dictionaries.
parent
b66c88ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/daemon
View file @
3054b894
#!/usr/bin/env python2
from
__future__
import
print_function
import
nrm
import
nrm.daemon
...
...
nrm/aci.py
View file @
3054b894
...
...
@@ -57,7 +57,7 @@ class Scheduler(SpecField):
classes
=
[
'SCHED_FIFO'
,
'SCHED_HPC'
,
'SCHED_OTHER'
]
fields
=
{
"policy"
:
spec
(
unicode
,
True
),
"priority"
:
spec
(
unicode
,
False
)
"priority"
:
spec
(
unicode
,
False
)
,
}
def
__init__
(
self
):
...
...
@@ -180,7 +180,7 @@ class ImageManifest(SpecField):
fields
=
{
"acKind"
:
spec
(
unicode
,
True
),
"acVersion"
:
spec
(
unicode
,
True
),
"name"
:
spec
(
unicode
,
True
),
"app"
:
spec
(
App
,
True
)
"app"
:
spec
(
App
,
True
)
,
}
def
__init__
(
self
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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