aboutsummaryrefslogtreecommitdiff
path: root/environment.py
diff options
context:
space:
mode:
Diffstat (limited to 'environment.py')
-rwxr-xr-xenvironment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.py b/environment.py
index b757ba4..51000c4 100755
--- a/environment.py
+++ b/environment.py
@@ -334,7 +334,7 @@ class Environment():
def detect_ccache(self):
try:
has_ccache = subprocess.call(['ccache', '--version'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
- except FileNotFoundError:
+ except OSError:
has_ccache = 1
if has_ccache == 0:
cmdlist = ['ccache']