Chromium Code Reviews| Index: PRESUBMIT.py |
| diff --git a/PRESUBMIT.py b/PRESUBMIT.py |
| index de0e49d65750255fb06707223f5908944d124136..10a846b52cea74d3c734ce738161e482343f24bf 100644 |
| --- a/PRESUBMIT.py |
| +++ b/PRESUBMIT.py |
| @@ -1140,9 +1140,6 @@ def _ExtractAddRulesFromParsedDeps(parsed_deps): |
| def _ParseDeps(contents): |
| """Simple helper for parsing DEPS files.""" |
| # Stubs for handling special syntax in the root DEPS file. |
| - def FromImpl(*_): |
| - pass # NOP function so "From" doesn't fail. |
| - |
| def FileImpl(_): |
| pass # NOP function so "File" doesn't fail. |
|
Dirk Pranke
2017/05/24 16:38:47
Nit: you can remove FileImpl(), also.
|
| @@ -1161,7 +1158,6 @@ def _ParseDeps(contents): |
| local_scope = {} |
| global_scope = { |
| 'File': FileImpl, |
| - 'From': FromImpl, |
| 'Var': _VarImpl(local_scope).Lookup, |
| } |
| exec contents in global_scope, local_scope |