aboutsummaryrefslogtreecommitdiff
path: root/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-08-24 02:24:29 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-08-24 02:24:29 +0300
commit6aa1152d72731e59011ec9c46d45ead6f519953e (patch)
treef81758c5f6ea8e93186ec028a8a06c9156ba720a /environment.py
parent063bfed54e44e1a353621702b33c9e360b4aac38 (diff)
downloadmeson-6aa1152d72731e59011ec9c46d45ead6f519953e.zip
meson-6aa1152d72731e59011ec9c46d45ead6f519953e.tar.gz
meson-6aa1152d72731e59011ec9c46d45ead6f519953e.tar.bz2
Regenerate if cross build definition file is updated.
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)