Reduce entrance errors to warnings

This commit is contained in:
Ilya Zverev 2018-08-02 18:42:46 +03:00
parent b6b98f9c10
commit 06602af71c

View file

@ -1122,7 +1122,7 @@ class City:
self.unused_entrances = len(unused)
self.entrances_not_in_stop_areas = len(not_in_sa)
if unused:
self.error('Found {} entrances not used in routes or stop_areas: {}'.format(
self.warn('Found {} entrances not used in routes or stop_areas: {}'.format(
len(unused), format_elid_list(unused)))
if not_in_sa:
self.warn('{} subway entrances are not in stop_area relations'.format(len(not_in_sa)))