version 1.6, 2004/01/09 12:47:05
|
version 1.8, 2004/01/29 10:19:38
|
Line 138 class filesystem(Implicit, Persistent, R
|
Line 138 class filesystem(Implicit, Persistent, R
|
j[k]=self.node[k] |
j[k]=self.node[k] |
return j |
return j |
|
|
|
|
def archive_the_path(self,path): |
def archive_the_path(self,path): |
"""parse indexmeta and return digilib path""" |
"""parse indexmeta and return digilib path""" |
try: |
try: |
Line 177 class filesystem(Implicit, Persistent, R
|
Line 178 class filesystem(Implicit, Persistent, R
|
if self.archive_the_path(k): |
if self.archive_the_path(k): |
j[k]=self.node[k] |
j[k]=self.node[k] |
return j |
return j |
|
|
security.declarePublic('getImageDirs') |
security.declarePublic('getImageDirs') |
def getImageDirs(self,dom,path): |
def getImageDirs(self,dom,path): |
dirs=dom.getElementsByTagName("dir") |
dirs=dom.getElementsByTagName("dir") |
Line 869 class overview(Implicit,Persistent, Role
|
Line 871 class overview(Implicit,Persistent, Role
|
if not len(str)==0: |
if not len(str)==0: |
for line in str: |
for line in str: |
retstr=retstr+line+"<br>" |
retstr=retstr+line+"<br>" |
check=re.search(r"(.*):(.*)",line) |
check=line.split(":") |
if check.group(1)=='ABORT': |
#re.search(r"(.*):(.*)",line) |
|
if check[0]=='ABORT': |
error="error" |
error="error" |
elif check.group(1)=='DONE': |
elif check[0]=='DONE': |
error="ok" |
error="ok" |
else: |
else: |
error="running" |
error="running" |