diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/checkdeps/checkdeps.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checkdeps/checkdeps.py b/tools/checkdeps/checkdeps.py index 740a581..7c4280f 100755 --- a/tools/checkdeps/checkdeps.py +++ b/tools/checkdeps/checkdeps.py @@ -260,7 +260,7 @@ def ApplyDirectoryRules(existing_rules, dir_name): global_scope = {"From": FromImpl, "Var": _VarImpl(local_scope).Lookup} deps_file = os.path.join(dir_name, "DEPS") - if os.path.exists(deps_file): + if os.path.isfile(deps_file): execfile(deps_file, global_scope, local_scope) elif VERBOSE: print " No deps file found in", dir_name |