From dc3e329106a3d0c7542531ba31ddf8bf24b86168 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 15 Jun 2001 16:43:54 +0000 Subject: Fix SF #433233: syntax error. --- Lib/statcache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/statcache.py b/Lib/statcache.py index 7eb87b9..47ac442 100644 --- a/Lib/statcache.py +++ b/Lib/statcache.py @@ -49,8 +49,8 @@ def forget_dir(prefix): prefix = os.path.dirname(os.path.join(prefix, "xxx")) forget(prefix) for path in cache.keys(): - if path.startswith(prefix) and os.path.dirname(path) == prefix: - forget(path) + if path.startswith(prefix) and os.path.dirname(path) == prefix: + forget(path) def forget_except_prefix(prefix): """Remove all pathnames except with a given prefix. -- cgit v0.12