[Python-checkins] CVS: python/dist/src/Lib statcache.py,1.7.4.1,1.7.4.2

Guido van Rossum gvanrossum@users.sourceforge.net
Fri, 15 Jun 2001 09:43:56 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv11217

Modified Files:
      Tag: release20-maint
	statcache.py 
Log Message:
Fix SF #433233: syntax error.


Index: statcache.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/statcache.py,v
retrieving revision 1.7.4.1
retrieving revision 1.7.4.2
diff -C2 -r1.7.4.1 -r1.7.4.2
*** statcache.py	2001/03/31 13:46:33	1.7.4.1
--- statcache.py	2001/06/15 16:43:54	1.7.4.2
***************
*** 50,55 ****
  	forget(prefix)
  	for path in cache.keys():
! 	if path.startswith(prefix) and os.path.dirname(path) == prefix:
! 		forget(path)
  
  def forget_except_prefix(prefix):
--- 50,55 ----
  	forget(prefix)
  	for path in cache.keys():
! 		if path.startswith(prefix) and os.path.dirname(path) == prefix:
! 			forget(path)
  
  def forget_except_prefix(prefix):