diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-08-24 02:24:29 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-08-24 02:24:29 +0300 |
commit | 6aa1152d72731e59011ec9c46d45ead6f519953e (patch) | |
tree | f81758c5f6ea8e93186ec028a8a06c9156ba720a /environment.py | |
parent | 063bfed54e44e1a353621702b33c9e360b4aac38 (diff) | |
download | meson-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.py | 2 |
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) |