--- OSAS/OSA_system/archive.py 2004/01/07 15:29:01 1.5 +++ OSAS/OSA_system/archive.py 2004/01/29 10:19:38 1.8 @@ -75,6 +75,7 @@ class filesystem(Implicit, Persistent, R def getfs(self,start): """load filessystem""" + f = os.popen("find "+ start+" -name '*' ","r") lines = f.readlines() @@ -137,6 +138,7 @@ class filesystem(Implicit, Persistent, R j[k]=self.node[k] return j + def archive_the_path(self,path): """parse indexmeta and return digilib path""" try: @@ -176,6 +178,7 @@ class filesystem(Implicit, Persistent, R if self.archive_the_path(k): j[k]=self.node[k] return j + security.declarePublic('getImageDirs') def getImageDirs(self,dom,path): dirs=dom.getElementsByTagName("dir") @@ -239,6 +242,7 @@ class filesystem2(Implicit, Persistent, def getfs(self,start): """load filessystem""" + f = os.popen("find "+ start+" -name '*' ","r") lines = f.readlines() @@ -373,6 +377,7 @@ class browse(Implicit, Persistent, RoleM def getfs(start): """return filesystem""" + f = os.popen("find "+ start+" -name '*'","r") lines = f.readlines() return lines @@ -644,7 +649,7 @@ def getText(nodelist): def getBib(nodelist): rc= "