template tags: don't support getting producer from label anymore

(this was required when we only got labels and zero details from
data.grandlyon (see #19294))
This commit is contained in:
Frédéric Péters 2018-09-11 19:37:16 +02:00
parent 2e1f90c753
commit aaab4ddc16
1 changed files with 0 additions and 2 deletions

View File

@ -474,8 +474,6 @@ def as_producer(slug):
if slug.startswith('_'):
producer = slug.split('_')[1].replace('hobo-', '')
else:
producer = slugify(slug)
if slug == 'eservices':
# handle collectivity sites, they are individually named