]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix SF #433233: syntax error.
authorGuido van Rossum <guido@python.org>
Fri, 15 Jun 2001 16:43:54 +0000 (16:43 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 15 Jun 2001 16:43:54 +0000 (16:43 +0000)
Lib/statcache.py

index 7eb87b96a96905da61c04c8e64532cc479bf1701..47ac442812ef0f1e266258a72e6a795986b040bc 100644 (file)
@@ -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.