version 1.8, 2004/01/07 15:29:01
|
version 1.10, 2004/01/09 12:47:04
|
Line 34 class OSAS_archiveInbox(SimpleItem,Persi
|
Line 34 class OSAS_archiveInbox(SimpleItem,Persi
|
def addPath(self,path,RESPONSE=None): |
def addPath(self,path,RESPONSE=None): |
"""add a path""" |
"""add a path""" |
today=time.localtime() |
today=time.localtime() |
self.pathes.append([path,today]) |
temp=self.pathes[0:] |
|
temp.append([path,today]) |
|
self.pathes=temp[0:] |
if RESPONSE: |
if RESPONSE: |
RESPONSE.redirect("index_html") |
RESPONSE.redirect("index_html") |
|
|
Line 335 class OSAS_archiver(Folder, Persistent,I
|
Line 337 class OSAS_archiver(Folder, Persistent,I
|
## methoden aus dem alten archive.py |
## methoden aus dem alten archive.py |
|
|
|
|
|
def isArray(self,path): |
|
"""check for array""" |
|
if type(path) == StringType: |
|
return 0 |
|
else: |
|
return 1 |
|
|
def archiver(self,path): |
def archiver(self,path): |
"""archive the documents in path""" |
"""archive the documents in path""" |
Line 349 class OSAS_archiver(Folder, Persistent,I
|
Line 356 class OSAS_archiver(Folder, Persistent,I
|
|
|
|
|
def metachecker(self,path): |
def metachecker(self,path): |
"""check the metadata the documents in path""" |
"""check the metadata of the documents in path""" |
self.REQUEST.SESSION['path']=self.REQUEST['path'] |
self.REQUEST.SESSION['path']=self.REQUEST['path'] |
return archive.metacheck(path) |
return archive.metacheck(path) |
|
|
Line 386 class OSAS_archiver(Folder, Persistent,I
|
Line 393 class OSAS_archiver(Folder, Persistent,I
|
|
|
def getfilesystem2(self,start,reload=0): |
def getfilesystem2(self,start,reload=0): |
"""load filesystem""" |
"""load filesystem""" |
|
|
k=filesystem2(start,1) |
k=filesystem2(start,1) |
return k |
return k |
|
|