Permalink
Browse files

Fix lint error in parallel processing.

gyp.input fails the presubmit lint check because of an uninitialised global.
The last rewrite of the parallel processing CL eliminated the need for this to
be global, so just remove the global declaration.
Review URL: https://codereview.chromium.org/11026036

git-svn-id: http://gyp.googlecode.com/svn/trunk@1515 78cadc50-ecff-11dd-a971-7dbc132099af
  • Loading branch information...
1 parent 0ec4ec5 commit 58f9b2fb6fe03d5e072d1522f847eebbeac5923d torne@chromium.org committed Oct 4, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 pylib/gyp/input.py
View
@@ -537,7 +537,6 @@ def LoadTargetBuildFileCallback(self, result):
def LoadTargetBuildFileParallel(build_file_path, data, aux_data,
variables, includes, depth, check):
- global parallel_state
parallel_state = ParallelState()
parallel_state.condition = threading.Condition()
parallel_state.dependencies = [build_file_path]

0 comments on commit 58f9b2f

Please sign in to comment.