--- ECHO_content/ECHO_collection.py 2004/08/17 15:22:14 1.163 +++ ECHO_content/ECHO_collection.py 2004/08/17 15:24:38 1.164 @@ -1019,6 +1019,7 @@ class ECHO_resource(Folder,Persistent): path=re.sub('http://foxridge.rz-berlin.mpg.de:8080','',path) # falls foxridge als server path=re.sub('http://content.mpiwg-berlin.mpg.de','',path) # falls content als server path=re.sub('http://foxridge.rz-berlin.mpg.de','',path) # falls foxridge als server + path=re.sub('http://vision.rz-berlin.mpg.de','',path) # falls vision als server path=re.sub('/index.meta','',path) @@ -1082,8 +1083,12 @@ class ECHO_resource(Folder,Persistent): path=re.sub('http://foxridge.rz-berlin.mpg.de:8080','',path) # falls foxridge als server path=re.sub('http://foxridge.rz-berlin.mpg.de','',path) # falls foxridge als server path=re.sub('http://content.mpiwg-berlin.mpg.de','',path) # falls content als server + + path=re.sub('http://vision.rz-berlin.mpg.de','',path) # falls vision als server + return ECHO_helpers.urlopen("http://nausikaa2.rz-berlin.mpg.de:86/cgi-bin/toc/admin/reg.cgi?path=%s"%path).readlines() + if RESPONSE is not None: RESPONSE.redirect('manage_main')