Diff for /OSAS/OSA_system/OSAS_add.py between versions 1.48 and 1.49

version 1.48, 2006/07/03 17:40:18 version 1.49, 2007/01/26 11:35:04
Line 712  def combineTextImage2(self,path): Line 712  def combineTextImage2(self,path):
   
   
   
         else: # falls keine Bilder (bug in reg.cgi info file ersetzen)          #else: # falls keine Bilder (bug in reg.cgi info file ersetzen)
                 f=file("/tmp/tmp_info.xml","w")          #        f=file("/tmp/tmp_info.xml","w")
                 tmp=patchedInfoXML(self.REQUEST['path'])          #        tmp=patchedInfoXML(self.REQUEST['path'])
                 f.write(tmp.encode('utf-8'))          #        f.write(tmp.encode('utf-8'))
                 f.close()          #        f.close()
                 splitted=path.split("/")          #        splitted=path.split("/")
                 fn=splitted[len(splitted)-1]          #        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"          #        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)          #        os.popen("scp /tmp/tmp_info.xml %s"%remotePath)
   
 def patchedInfoXML(path):  def patchedInfoXML(path):
         dom=xml.dom.minidom.parse(path+"/index.meta")          dom=xml.dom.minidom.parse(path+"/index.meta")

Removed from v.1.48  
changed lines
  Added in v.1.49


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>