Skip to content

Commit 2256eb4

Browse files
committed
bit more cleanup
1 parent fc94ac3 commit 2256eb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gtfsdb/model/stop_time.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ def get_headsign(self):
5353
return ret_val
5454

5555
def get_direction_name(self, def_val="", banned=['Shuttle', 'MAX Shuttle', 'Garage', 'Center Garage', 'Merlo Garage', 'Powell Garage']):
56-
''' returns either the headsign (as long as headsign is not the same name as the route name)
57-
or the route direction name
56+
''' returns either the headsign (priority) or the route direction name (when banned)
57+
(as long as one of these names are not banned and not the same name as the route name)
5858
'''
5959
ret_val = def_val
6060
try:

0 commit comments

Comments
 (0)