changeset 232:40633b90fd3f

*** empty log message ***
author abukhman
date Mon, 11 Oct 2010 15:23:26 +0200
parents a88ece9a5e74
children 702ac82d8271
files MpdlXmlTextServer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Mon Oct 11 15:12:16 2010 +0200
+++ b/MpdlXmlTextServer.py	Mon Oct 11 15:23:26 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','chinagis/REST/db/mpdl/%s'%name)
+                              hrefNode.nodeValue =href.replace('chinagis_REST/REST/db/chgis/mpdl','chinagis/REST/db/mpdl/'%name)
                              #hrefNode.nodeValue =href.replace('chinagis_REST/REST/db/chgis/mpdl','chinagis/REST/db/mpdl%s'%url)
                               l.setAttributeNS(None, 'target', '_blank') 
                   return serializeNode(pagenode)