Skip to content
GitLab
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
0abf9958
Commit
0abf9958
authored
Dec 19, 2018
by
Guilhem Saurel
Browse files
logic…
parent
94cf2d82
Pipeline
#2015
passed with stages
in 1 minute and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
0abf9958
...
...
@@ -314,9 +314,9 @@ class Project(Links, NamedModel, TimeStampedModel):
branch_updated
=
branch
is
not
None
and
branch
.
updated
is
not
None
robotpkg_updated
=
robotpkg
is
not
None
and
robotpkg
.
updated
is
not
None
if
branch_updated
or
robotpkg_updated
:
if
robotpkg_updated
:
if
not
robotpkg_updated
:
self
.
updated
=
branch
.
updated
elif
branch_updated
:
elif
not
branch_updated
:
self
.
updated
=
robotpkg
.
updated
else
:
self
.
updated
=
max
(
branch
.
updated
,
robotpkg
.
updated
)
...
...
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