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
c1f252e6
Commit
c1f252e6
authored
Nov 23, 2018
by
Guilhem Saurel
Browse files
no more Branch.DoesNotExist
parent
47cc4eae
Pipeline
#1912
passed with stages
in 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/management/commands/update.py
View file @
c1f252e6
...
...
@@ -31,11 +31,7 @@ class Command(BaseCommand):
log
(
f
'
\n
Updating all projects
\n
'
)
for
project
in
Project
.
objects
.
all
():
log
(
f
'
{
project
}
'
)
try
:
project
.
update
()
except
Branch
.
DoesNotExist
:
project
.
update_branches
()
project
.
update
()
project
.
update
()
log
(
f
'
\n
Updating Robotpkg
\n
'
)
for
robotpkg
in
Robotpkg
.
objects
.
all
():
...
...
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