8000 Always write the cache (unless cache_dir is /dev/null) by gvanrossum · Pull Request #3133 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Always write the cache (unless cache_dir is /dev/null) #3133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 19, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
8000
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix format string
  • Loading branch information
Guido van Rossum committed Apr 19, 2017
commit 1338bca6d85df63582ef15ecc32a77e04aec0844
2 changes: 1 addition & 1 deletion mypy/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ def write_cache(id: str, path: str, tree: MypyFile,
try:
st = manager.get_stat(path)
except OSError as err:
manager.log("Cannot get stat for {}: %s".format(path, err))
manager.log("Cannot get stat for {}: {}".format(path, err))
# Remove apparently-invalid cache files.
for filename in [data_json, meta_json]:
try:
Expand Down
0