changeset 215:b7d2b4dd1689

*** empty log message ***
author abukhman
date Fri, 08 Oct 2010 14:25:40 +0200
parents dc744bd2174c
children 7c78d02cf7c6
files MpdlXmlTextServer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Fri Oct 08 14:24:40 2010 +0200
+++ b/MpdlXmlTextServer.py	Fri Oct 08 14:25:40 2010 +0200
@@ -203,7 +203,7 @@
                       if hrefNode:
                           href=hrefNode.nodeValue
                           if href.startswith('http://chinagis.mpiwg-berlin.mpg.de'):
-                              hrefNode.nodeValue =href.replace('chinagis_REST/REST/db/chgis/mpdl/mpiwg/online/permanent/echo/china','chinagis/REST/db/mpdl%s'%url)
+                              hrefNode.nodeValue =href.replace('chinagis_REST/REST/db/chgis/mpdl/','chinagis/REST/db/mpdl%s'%url)
 
                              #hrefNode.nodeValue=href.replace('chgis','')
                               l.setAttributeNS(None, 'target', '_blank')