Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
f910a132
Commit
f910a132
authored
May 16, 2018
by
Guilhem Saurel
Browse files
flake8
parent
75c252f9
Pipeline
#719
passed with stages
in 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
f910a132
import
json
import
logging
import
re
from
subprocess
import
CalledProcessError
,
check_output
from
subprocess
import
check_output
from
django.conf
import
settings
from
django.db
import
models
...
...
@@ -553,7 +553,7 @@ class Robotpkg(NamedModel):
Image
.
objects
.
get_or_create
(
robotpkg
=
self
,
target
=
target
,
py3
=
False
)[
0
].
update
()
if
self
.
name
.
startswith
(
'py-'
):
for
target
in
Target
.
objects
.
all
():
image
=
Image
.
objects
.
get_or_create
(
robotpkg
=
self
,
target
=
target
,
py3
=
True
)[
0
].
update
()
Image
.
objects
.
get_or_create
(
robotpkg
=
self
,
target
=
target
,
py3
=
True
)[
0
].
update
()
def
update
(
self
,
pull
=
True
):
path
=
settings
.
RAINBOARD_RPKG
...
...
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