0015-misc-fix-undefined-loop-variable-pylint-error-55505.patch
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 |
- |