From 2256eb4ea354e8160a7af87bfdde45bceb6e1375 Mon Sep 17 00:00:00 2001 From: Frank Purcell Date: Fri, 29 May 2015 14:05:59 -0700 Subject: [PATCH] bit more cleanup --- gtfsdb/model/stop_time.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtfsdb/model/stop_time.py b/gtfsdb/model/stop_time.py index cc671ba..6e8c115 100644 --- a/gtfsdb/model/stop_time.py +++ b/gtfsdb/model/stop_time.py @@ -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: