diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-28 06:34:11 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-28 07:33:38 +0100 |
commit | b052e3aefa97b85743ee1a367c65b71f0fbcf76c (patch) | |
tree | fbd4590d13b98b1f260faf460289ed6ede1d2b1b /wscript | |
parent | 99494370d6124ef5d773119fa59f5bac4bbf395f (diff) |
build: Report caching errors
The ctx.fatal() method uses an exception to stop the build. Do not
catch it.
Diffstat (limited to 'wscript')
-rwxr-xr-x | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1109,9 +1109,9 @@ def is_one_item_newer(ctx, path, mtime): def must_update_item_cache(ctx, path, cache_file): try: mtime = os.path.getmtime(cache_file) - return is_one_item_newer(ctx, path, mtime) except: return True + return is_one_item_newer(ctx, path, mtime) def load_from_yaml(load, ctx, data_by_uid, base, path): |