Projet

Général

Profil

0015-misc-fix-undefined-loop-variable-pylint-error-55505.patch

Lauréline Guérin, 12 juillet 2021 11:24

Télécharger (948 octets)

Voir les différences:

Subject: [PATCH 15/23] misc: fix undefined-loop-variable pylint error (#55505)

 chrono/api/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
chrono/api/views.py
231 231

  
232 232
    # aggregate already booked time intervals for resources
233 233
    resources_bookings = IntervalSet()
234
    if agenda.kind == 'meetings' and resources:
234
    if base_agenda.kind == 'meetings' and resources:
235 235
        used_min_datetime, used_max_datetime = agenda_id_min_max_datetime[base_agenda.pk]
236 236
        event_ids_queryset = Event.resources.through.objects.filter(
237 237
            resource__in=[r.pk for r in resources]
238
-