We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87ce6ac commit dc3e329Copy full SHA for dc3e329
Lib/statcache.py
@@ -49,8 +49,8 @@ def forget_dir(prefix):
49
prefix = os.path.dirname(os.path.join(prefix, "xxx"))
50
forget(prefix)
51
for path in cache.keys():
52
- if path.startswith(prefix) and os.path.dirname(path) == prefix:
53
- forget(path)
+ if path.startswith(prefix) and os.path.dirname(path) == prefix:
+ forget(path)
54
55
def forget_except_prefix(prefix):
56
"""Remove all pathnames except with a given prefix.
0 commit comments