Pylint and flake8

This commit is contained in:
Robbie Trencheny 2016-03-26 18:53:21 -07:00
parent 5a35e4a9ba
commit dac3c9d1b5

View file

@ -68,7 +68,7 @@ def get_next_departure(sched, start_station_id, end_station_id):
AND start_station.stop_id = :origin_station_id AND start_station.stop_id = :origin_station_id
AND end_station.stop_id = :end_station_id AND end_station.stop_id = :end_station_id
ORDER BY origin_stop_time.departure_time LIMIT 1;""".format(day_name)) ORDER BY origin_stop_time.departure_time LIMIT 1;""".format(day_name))
result = sched.engine.execute(sql_query,now_str=now_str, result = sched.engine.execute(sql_query, now_str=now_str,
origin_station_id=origin_station.id, origin_station_id=origin_station.id,
end_station_id=destination_station.id) end_station_id=destination_station.id)
item = {} item = {}