Do usefulness check even if we can't find the file

This commit is contained in:
Ian Gulliver
2016-06-05 19:58:26 -07:00
parent a1335c8754
commit 72b6990fb2

View File

@@ -56,7 +56,11 @@ class MinHeader(object):
self._Log('\t%s: ' % inc_path)
sub_includes = self._FindSubIncludes(inc_path)
try:
sub_includes = self._FindSubIncludes(inc_path)
except IncludeNotFound:
self._Log('(MISSING) ')
sub_includes = []
# Is the include useful at all?
if self._TestReplacement(path, lines, inc_i, []):