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

Issue 385007: Run pychecker over most scripts in depot_tools. Catched a few bugs. (Closed)

Created:
11 years, 1 month ago by M-A Ruel
Modified:
9 years, 7 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Run pychecker over most scripts in depot_tools. Catched a few bugs. TEST=unit tests BUG=none

Patch Set 1 #

Patch Set 2 : clean up #

Patch Set 3 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -199 lines) Patch
M gcl.py View 20 chunks +56 lines, -57 lines 0 comments Download
M gclient.py View 1 27 chunks +60 lines, -64 lines 2 comments Download
M gclient_scm.py View 1 12 chunks +20 lines, -10 lines 0 comments Download
M presubmit_canned_checks.py View 1 chunk +3 lines, -3 lines 0 comments Download
M presubmit_support.py View 2 chunks +6 lines, -6 lines 0 comments Download
M tests/gcl_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M tests/gclient_test.py View 1 2 19 chunks +51 lines, -35 lines 0 comments Download
M tests/trychange_unittest.py View 1 chunk +2 lines, -2 lines 0 comments Download
M trychange.py View 8 chunks +21 lines, -21 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
M-A Ruel
11 years, 1 month ago (2009-11-10 16:53:10 UTC) #1
M-A Ruel
Reviewers: dpranke, Description: Run pychecker over most scripts in depot_tools. Catched a few bugs. TEST=unit ...
11 years, 1 month ago (2009-11-10 16:53:29 UTC) #2
M-A Ruel
Reviewers: dpranke, Description: Run pychecker over most scripts in depot_tools. Catched a few bugs. TEST=unit ...
11 years, 1 month ago (2009-11-10 16:59:30 UTC) #3
M-A Ruel
Reviewers: dpranke, Description: Run pychecker over most scripts in depot_tools. Catched a few bugs. TEST=unit ...
11 years, 1 month ago (2009-11-10 17:09:34 UTC) #4
Dirk Pranke
One minor point of clarification; LGTM otherwise. http://codereview.chromium.org/385007/diff/3001/2003 File gclient.py (right): http://codereview.chromium.org/385007/diff/3001/2003#newcode860 Line 860: deps[d].module_name, ...
11 years, 1 month ago (2009-11-10 19:49:24 UTC) #5
Dirk Pranke
One minor point of clarification; LGTM otherwise. http://codereview.chromium.org/385007/diff/3001/2003 File gclient.py (right): http://codereview.chromium.org/385007/diff/3001/2003#newcode860 Line 860: deps[d].module_name, ...
11 years, 1 month ago (2009-11-10 19:49:42 UTC) #6
M-A Ruel
http://codereview.chromium.org/385007/diff/3001/2003 File gclient.py (right): http://codereview.chromium.org/385007/diff/3001/2003#newcode860 Line 860: deps[d].module_name, On 2009/11/10 19:49:24, dpranke wrote: > You're ...
11 years, 1 month ago (2009-11-10 20:02:22 UTC) #7
M-A Ruel
11 years, 1 month ago (2009-11-10 20:02:41 UTC) #8
http://codereview.chromium.org/385007/diff/3001/2003
File gclient.py (right):

http://codereview.chromium.org/385007/diff/3001/2003#newcode860
Line 860: deps[d].module_name,
On 2009/11/10 19:49:24, dpranke wrote:
> You're sure this file will already be local? (I'm not 100% clear at
what points
> this code is called).

If you look at the old code, it was running [svn cat svn://...] and put
it in deps_parent_content. Note this variable is not used afterward (!)
So I removed all this code altogether.

I kept the code to have sub_deps but split it since the previous code
was unreadable.

http://codereview.chromium.org/385007

Powered by Google App Engine
This is Rietveld 408576698