version 1.3, 2003/12/18 17:22:29
|
version 1.5, 2004/01/07 15:29:01
|
Line 527 class metacheck(Implicit, Persistent, Ro
|
Line 527 class metacheck(Implicit, Persistent, Ro
|
return [retstr,error] |
return [retstr,error] |
else: |
else: |
return ['','running'] |
return ['','running'] |
|
|
def __init__(self,path): |
def __init__(self,path): |
"""archive the documents in path""" |
"""archive the documents in path""" |
self.lines=[] |
self.lines=[] |
|
|
if type(path)==StringType: |
if type(path)==StringType: |
f = os.popen("/Users/dwinter/metacheck "+path,"r") |
f = os.popen("/usr/local/mpiwg/archive/metacheck "+path,"r") |
self.lines.append(Error([path,self.parsearchive(f.readlines())])) |
self.lines.append(Error([path,self.parsearchive(f.readlines())])) |
else: |
else: |
for singlepath in path: |
for singlepath in path: |
f = os.popen("/Users/dwinter/metacheck "+singlepath,"r") |
f = os.popen("/usr/local/mpiwg/archive/metacheck "+singlepath,"r") |
self.lines.append(Error([singlepath,self.parsearchive(f.readlines())])) |
self.lines.append(Error([singlepath,self.parsearchive(f.readlines())])) |
security.declarePublic('messages') |
security.declarePublic('messages') |
|
|