--- OSA_system2/OSAS_browser.py 2004/12/23 12:38:22 1.4 +++ OSA_system2/OSAS_browser.py 2004/12/23 15:56:19 1.5 @@ -129,9 +129,9 @@ class OSAS_storeOnline(SimpleItem): stats=os.stat(indexMeta) #teste ob schon im cache - if self._v_metaFiles.has_key(indexMeta) and (self._v_metaFiles[indexMeta][0]==stats[stat.ST_MTIME]): - - return self._v_metaFiles[indexMeta][1] + if self._v_metaFiles.has_key(path) and (self._v_metaFiles[path][0]==stats[stat.ST_MTIME]): + #print "cache",path + return self._v_metaFiles[path][1] dom=xml.dom.minidom.parse(indexMeta) @@ -150,7 +150,7 @@ class OSAS_storeOnline(SimpleItem): else: name="" - + #print "PP",pathX,path if pathX==path: if dir.tagName=="dir": fileType="OSAS_dir_archive" @@ -160,7 +160,7 @@ class OSAS_storeOnline(SimpleItem): object=os.path.join(realPath,pathX,name) ret[object]=(fileType,'') - self._v_metaFiles[indexMeta]=(stats[stat.ST_MTIME],ret) # speicher im chache + self._v_metaFiles[path]=(stats[stat.ST_MTIME],ret) # speicher im chache return ret