Skip to content

Commit

Permalink
bit more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fpurcell committed May 29, 2015
1 parent fc94ac3 commit 2256eb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gtfsdb/model/stop_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def get_headsign(self):
return ret_val

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

0 comments on commit 2256eb4

Please sign in to comment.