http://codereview.appspot.com/1648042/diff/1/2 File transitfeed_editor.py (right): http://codereview.appspot.com/1648042/diff/1/2#newcode586 transitfeed_editor.py:586: stopId, isEnd): Insert what into Pattern? Please make it ...
13 years, 10 months ago
(2010-06-11 03:31:50 UTC)
#2
13 years, 10 months ago
(2010-06-11 07:27:05 UTC)
#3
updated
http://codereview.appspot.com/1648042/diff/1/2
File transitfeed_editor.py (right):
http://codereview.appspot.com/1648042/diff/1/2#newcode586
transitfeed_editor.py:586: stopId, isEnd):
On 2010/06/11 03:31:50, weiliu wrote:
> Insert what into Pattern? Please make it clear in your function name.
Done.
http://codereview.appspot.com/1648042/diff/1/2#newcode595
transitfeed_editor.py:595: query = ("update `%s` set stop_sequence =
stop_sequence + 1"
On 2010/06/11 03:31:50, weiliu wrote:
> Why +1? Please add comments.
Done.
http://codereview.appspot.com/1648042/diff/1/2#newcode602
transitfeed_editor.py:602: # and the starting point of the ending point must
have this value
On 2010/06/11 03:31:50, weiliu wrote:
> What does starting point of the ending point mean? I'm confused.
Done.
http://codereview.appspot.com/1648042/diff/1/2#newcode617
transitfeed_editor.py:617: (arrival_time, departure_time) =
db._cursor.fetchone()
On 2010/06/11 03:31:50, weiliu wrote:
> I don't understand why you use:
> "if arrivalTime or departureTime" but still use:
> (arrival_time, departure_time) = db._cursor.fetchone().
>
> As we discussed previously, the logic of using the trip's end time is actually
> wrong and should be fixed sometime. If you cannot fix it now, please add it as
> TODO so that you won't forget it.
Done.
Issue 1648042: Insert stoptime throught database only
Created 13 years, 10 months ago by calidion
Modified 7 years, 4 months ago
Reviewers: lychen, xan_google.com, weiliu, leio.chen, baiming
Base URL: http://scheduleeditor.googlecode.com/svn/trunk/v2/
Comments: 16