[Synopsis-changes] Synopsis/Synopsis/Synopsis/Formatter/HTML DirBrowse.py,1.6,1.7 RawFilePages.py,1.4,1.5

Stefan Seefeld stefan at synopsis.fresco.org
Sat Nov 8 19:49:57 UTC 2003


Update of /cvs/synopsis/Synopsis/Synopsis/Formatter/HTML
In directory frida:/home/stefan/Synopsis/Synopsis/Formatter/HTML

Modified Files:
	DirBrowse.py RawFilePages.py 
Log Message:
replace statcache.stat by os.stat

Index: DirBrowse.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/Formatter/HTML/DirBrowse.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -d -r1.6 -r1.7
--- DirBrowse.py	13 Nov 2002 03:17:19 -0000	1.6
+++ DirBrowse.py	8 Nov 2003 19:49:54 -0000	1.7
@@ -20,6 +20,9 @@
 # 02111-1307, USA.
 #
 # $Log$
+# Revision 1.7  2003/11/08 19:49:54  stefan
+# replace statcache.stat by os.stat
+#
 # Revision 1.6  2002/11/13 03:17:19  chalky
 # Fix directory heading links when using Nested layout
 #
@@ -41,7 +44,7 @@
 
 
 # System modules
-import os, stat, statcache, os.path, string, time
+import os, stat, os.path, string, time
 
 # Synopsis modules
 from Synopsis.Core import AST, Util
@@ -100,7 +103,7 @@ class DirBrowse(Page.Page):
 		if exclude:
 		    continue
 		entry_path = os.path.join(dir, entry)
-		info = statcache.stat(entry_path)
+		info = os.stat(entry_path)
 		if not stat.S_ISDIR(info[stat.ST_MODE]):
 		    continue
 		filename = self.filename_for_dir(dir)

Index: RawFilePages.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/Formatter/HTML/RawFilePages.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -d -r1.4 -r1.5
--- RawFilePages.py	13 Nov 2002 04:11:00 -0000	1.4
+++ RawFilePages.py	8 Nov 2003 19:49:54 -0000	1.5
@@ -20,6 +20,9 @@
 # 02111-1307, USA.
 #
 # $Log$
+# Revision 1.5  2003/11/08 19:49:54  stefan
+# replace statcache.stat by os.stat
+#
 # Revision 1.4  2002/11/13 04:11:00  chalky
 # Fix exclude_globs bug
 #
@@ -35,7 +38,7 @@
 #
 
 # System modules
-import time, os, stat, statcache, os.path, string
+import time, os, stat, os.path, string
 
 # Synopsis modules
 from Synopsis.Core import AST, Util
@@ -84,7 +87,7 @@ class RawFilePages (Page.Page):
 		if exclude:
 		    continue
                 entry_path = os.path.join(dir, entry)
-                info = statcache.stat(entry_path)
+                info = os.stat(entry_path)
                 if stat.S_ISDIR(info[stat.ST_MODE]):
                     dirs.append(entry_path)
                 else:





More information about the Synopsis-changes mailing list