Diff for /OSAS/OSA_system/OSAS_Root.py between versions 1.9 and 1.10

version 1.9, 2004/05/10 15:54:40 version 1.10, 2004/06/22 06:39:04
Line 52  class OSAS_Root(Folder,Implicit): Line 52  class OSAS_Root(Folder,Implicit):
   
     def downloadExternalXML(self,index_meta_url,xml_url):      def downloadExternalXML(self,index_meta_url,xml_url):
         """lade xml file"""          """lade xml file"""
   
         xmlneu=urllib.urlopen(xml_url).read()          xmlneu=urllib.urlopen(xml_url).read()
   
     path=re.sub(self.REQUEST['SERVER_URL'],'',index_meta_url)      path=re.sub(self.REQUEST['SERVER_URL'],'',index_meta_url)
     path=re.sub('http://foxridge.mpiwg-berlin.mpg.de:8080','',path) # falls foxridge als server      path=re.sub('http://foxridge.mpiwg-berlin.mpg.de:8080','',path) # falls foxridge als server
     path=re.sub('http://foxridge.mpiwg-berlin.mpg.de','',path) # falls foxridge als server      path=re.sub('http://foxridge.mpiwg-berlin.mpg.de','',path) # falls foxridge als server
   
   
         fh=open(path,'w')          fh=open(path,'w')
         fh.write(xmlneu)          fh.write(xmlneu)
         fh.close()          fh.close()

Removed from v.1.9  
changed lines
  Added in v.1.10


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