Skip to content
Snippets Groups Projects
Commit 635b7d2a authored by Erik Reid's avatar Erik Reid
Browse files

ignore pop locations if abbrev is empty

parent 67544728
No related branches found
No related tags found
No related merge requests found
...@@ -1080,7 +1080,8 @@ def persist_ims_data(data, use_current=False): ...@@ -1080,7 +1080,8 @@ def persist_ims_data(data, use_current=False):
# de-dupe the sites (by abbreviation) # de-dupe the sites (by abbreviation)
pops = { pops = {
equip['pop']['abbreviation']: equip['pop'] equip['pop']['abbreviation']: equip['pop']
for equip in locations.values()} for equip in locations.values()
if equip['pop']['abbreviation']}
return pops.values() return pops.values()
if use_current: if use_current:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment