Skip to content
Snippets Groups Projects
Commit dd0fc882 authored by Robert Latta's avatar Robert Latta
Browse files

fixed typo

parent 43eadeac
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ def _locations_from_router(router_name):
# todo - see if Erik is happy for this to
# just make a call to _location_from_router
def _location_from_service_dict(s):
loc = _location_from_router(s['equipment'])
loc = _locations_from_router(s['equipment'])
location = {
'a': _LOCATION(
equipment=loc['a']['equipment'],
......@@ -64,7 +64,7 @@ def _location_from_service_dict(s):
abbreviation=loc['a']['pop_abbreviation'])
}
if 'other_end_equipment' in s:
loc = _location_from_router(s['other_end_equipment'])
loc = _locations_from_router(s['other_end_equipment'])
location['b'] = _LOCATION(
equipment=loc['a']['equipment'],
name=loc['a']['pop_name'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment