Commit cf9eb118 authored by eroman's avatar eroman Committed by Commit bot

Remove reference to FileNotFoundError, as it is not available in python 2.

NOTRY=true

Review URL: https://codereview.chromium.org/874403003

Cr-Commit-Position: refs/heads/master@{#313128}
parent d04be4fd
......@@ -56,7 +56,7 @@ def SystemIncludeDirectoryFlags():
with open(os.devnull, 'rb') as DEVNULL:
output = subprocess.check_output(['clang', '-v', '-E', '-x', 'c++', '-'],
stdin=DEVNULL, stderr=subprocess.STDOUT)
except (FileNotFoundError, subprocess.CalledProcessError):
except:
return []
includes_regex = r'#include <\.\.\.> search starts here:\s*' \
r'(.*?)End of search list\.'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment