--- OSAS/OSA_system/OSAS_add.py 2006/07/03 17:40:18 1.48 +++ OSAS/OSA_system/OSAS_add.py 2007/01/26 11:35:04 1.49 @@ -712,15 +712,15 @@ def combineTextImage2(self,path): - else: # falls keine Bilder (bug in reg.cgi info file ersetzen) - f=file("/tmp/tmp_info.xml","w") - tmp=patchedInfoXML(self.REQUEST['path']) - f.write(tmp.encode('utf-8')) - f.close() - splitted=path.split("/") - fn=splitted[len(splitted)-1] - remotePath="archive@nausikaa2.rz-berlin.mpg.de:/usr/local/share/archimedes/web/docs/proj/echo/1/docs/"+fn+"/info.xml" - os.popen("scp /tmp/tmp_info.xml %s"%remotePath) + #else: # falls keine Bilder (bug in reg.cgi info file ersetzen) + # f=file("/tmp/tmp_info.xml","w") + # tmp=patchedInfoXML(self.REQUEST['path']) + # f.write(tmp.encode('utf-8')) + # f.close() + # splitted=path.split("/") + # fn=splitted[len(splitted)-1] + # remotePath="archive@nausikaa2.rz-berlin.mpg.de:/usr/local/share/archimedes/web/docs/proj/echo/1/docs/"+fn+"/info.xml" + # os.popen("scp /tmp/tmp_info.xml %s"%remotePath) def patchedInfoXML(path): dom=xml.dom.minidom.parse(path+"/index.meta")