Skip to content

Commit

Permalink
This is covered in the YAMl validation now
Browse files Browse the repository at this point in the history
  • Loading branch information
plaindocs committed Oct 16, 2024
1 parent 9e1058d commit 1b84bee
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/_ext/meetups.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ def load_meetups_by_region():
'twitter',
'meetup_alt',
]])
if 'meetup' not in meetup and 'meetup_alt' not in meetup:
raise ExtensionError('Meetup missing `meetup`/`meetup_alt` key: file={0}'.format(
yaml_file
))
result[meetup['region']].append(meetup)
for _, meetups in list(result.items()):
meetups.sort(key=lambda m: m.get('city', m['country']))
Expand Down

0 comments on commit 1b84bee

Please sign in to comment.