Commit c1f252e6 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

no more Branch.DoesNotExist

parent 47cc4eae
Pipeline #1912 passed with stages
in 41 seconds
......@@ -31,11 +31,7 @@ class Command(BaseCommand):
log(f'\nUpdating 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'\nUpdating Robotpkg\n')
for robotpkg in Robotpkg.objects.all():
......
Markdown is supported
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