# HG changeset patch # User abukhman # Date 1286803406 -7200 # Node ID 40633b90fd3f189f77d9d4206b3a29fe75e5c8b0 # Parent a88ece9a5e74d241d7fb79b6b668b3c84d89e796 *** empty log message *** diff -r a88ece9a5e74 -r 40633b90fd3f MpdlXmlTextServer.py --- 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)