Skip to content

Commit

Permalink
base: Hide cache out of date messages
Browse files Browse the repository at this point in the history
  • Loading branch information
avdgrinten committed Nov 1, 2024
1 parent 6e92d1c commit f5e5412
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbstrap/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,8 @@ def _read_cfg_cache(self, cache_path, source_path, *, options):
with open(cache_path) as f:
stat = os.fstat(f.fileno())
if stat_mtime(source_path) > stat.st_mtime:
_util.log_info(f"Cache for {source_path} is out of date")
if verbosity:
_util.log_info(f"Cache for {source_path} is out of date")
return None
cache = json.load(f)
except FileNotFoundError:
Expand Down

0 comments on commit f5e5412

Please sign in to comment.