aboutsummaryrefslogtreecommitdiff
path: root/environment.py
diff options
context:
space:
mode:
Diffstat (limited to 'environment.py')
-rw-r--r--environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.py b/environment.py
index 6f8f644..af4e9d9 100644
--- a/environment.py
+++ b/environment.py
@@ -695,7 +695,7 @@ class Environment():
try:
cdf = os.path.join(self.get_build_dir(), Environment.coredata_file)
self.coredata = coredata.load(cdf)
- except IOError:
+ except FileNotFoundError:
self.coredata = coredata.CoreData(options)
if self.coredata.cross_file:
self.cross_info = CrossBuildInfo(self.coredata.cross_file)