trivial: use x as list comprehension variable (#56300)

This commit is contained in:
Frédéric Péters 2021-08-21 09:55:47 +02:00
parent 993835e8b6
commit a639650707
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ class ImportEventsForm(forms.Form):
events = []
warnings = {}
events_by_slug = {e.slug: e for e in Event.objects.filter(agenda=self.agenda_pk)}
events_by_slug = {x.slug: x for x in Event.objects.filter(agenda=self.agenda_pk)}
event_ids_with_bookings = set(
Booking.objects.filter(
event__agenda=self.agenda_pk, cancellation_datetime__isnull=True