Chromium Code Reviews| Index: gclient.py |
| diff --git a/gclient.py b/gclient.py |
| index 059483a67ce70bcfc39423a4ebb9da8852967591..8ce98fc1da958586bb16806bf76e85e02b06519f 100644 |
| --- a/gclient.py |
| +++ b/gclient.py |
| @@ -702,6 +702,9 @@ class Dependency(gclient_utils.WorkItem, DependencySettings): |
| # Python script. Run it by starting a new copy of the same |
| # interpreter. |
| command[0] = sys.executable |
| + if not command[0]: |
|
M-A Ruel
2013/01/25 01:01:30
Please put it directly first thing into main() ins
bcwhite
2013/01/30 16:58:53
Done.
|
| + raise gclient_utils.Error( |
| + 'Python does not know the location of it\'s own executable.') |
| if '$matching_files' in command: |
| splice_index = command.index('$matching_files') |
| command[splice_index:splice_index + 1] = matching_file_list |