Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Issue 312703002: Update tree walking to not update a list while iterating over it. (Closed)

Created:
6 years, 6 months ago by qsr
Modified:
6 years, 6 months ago
Reviewers:
bulach, brettw
Base URL:
https://chromium.googlesource.com/chromium/buildtools.git@master
Visibility:
Public.

Description

Update tree walking to not update a list while iterating over it. It is not correct, in python, to modify a list while iterating over it.

Patch Set 1 #

Patch Set 2 : Rebase to correct directory. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -14 lines) Patch
M tools/checkdeps/java_checker.py View 1 1 chunk +17 lines, -14 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
qsr
Modifying a list in python while traversing it doesn't work correctly: >>> list = range(10) ...
6 years, 6 months ago (2014-06-03 09:26:03 UTC) #1
bulach
lgtm, thanks!
6 years, 6 months ago (2014-06-03 09:32:33 UTC) #2
brettw
lgtm
6 years, 6 months ago (2014-06-03 16:46:49 UTC) #3
qsr
The CQ bit was checked by qsr@chromium.org
6 years, 6 months ago (2014-06-03 17:10:04 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-03 17:11:09 UTC) #5
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
6 years, 6 months ago (2014-06-03 17:11:09 UTC) #6
qsr
The CQ bit was checked by qsr@chromium.org
6 years, 6 months ago (2014-06-03 17:22:17 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-03 17:23:22 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-03 17:23:22 UTC) #9
Commit queue rejected this change because it did not recognize the base URL.
Please commit your change manually.

Powered by Google App Engine
This is Rietveld 408576698