arup-group/genet

Logging message bug

ana-kop opened this issue · 0 comments

A very minor issue, very similar incorrect logging messages in 2 functions:

  1. logging.info(f'Removed Services with IDs `{service_id}`, and Routes: {route_ids}')

  2. logging.info(f'Removed Routes with IDs {route_ids}, to Services `{service_id}`.')

Should use service_ids not service_id to list all services that have been removed/ from which routes have been removed

(In the second case, might make more sense for the message to say ...belonging to Services {service_ids}