Commit 8ee43493 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

update: print images with issues

parent 86d43537
Pipeline #7484 passed with stage
in 28 seconds
from datetime import timedelta
from django.conf import settings
from import call_command
from import BaseCommand
from django.db.models import F, Q
from django.utils import timezone
from rainboard.models import Branch, Forge, Project, Repo, Robotpkg
from rainboard.models import Branch, Forge, Image, Project, Repo, Robotpkg
from rainboard.utils import SOURCES, update_robotpkg
......@@ -49,3 +52,7 @@ class Command(BaseCommand):
log(f'\nDelete perso\n')
log(f'\nLook for missing images\n')
for img in Image.objects.filter( - timedelta(days=7)):
log(f' {img}')
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