Commit 0abf9958 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files


parent 94cf2d82
Pipeline #2015 passed with stages
in 1 minute and 42 seconds
......@@ -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
self.updated = max(branch.updated, robotpkg.updated)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment