changeset 544:6c529ec1b295

added gis mode back.
author casties
date Wed, 22 Aug 2012 16:42:30 +0200
parents 6cdc31e9ed8e
children fc34eff7b52d
files MpdlXmlTextServer.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Wed Aug 22 16:25:38 2012 +0200
+++ b/MpdlXmlTextServer.py	Wed Aug 22 16:42:30 2012 +0200
@@ -258,6 +258,8 @@
             # xml mode
             textmode = 'xml'
             textParams['characterNormalization'] = 'orig'
+        elif 'gis' in modes:
+            textmode = 'gis'
         else:
             # text is default mode
             textmode = 'text'
@@ -335,7 +337,7 @@
             if pagediv is not None:
                 return serialize(pagediv)
             
-        # pureXml mode
+        # pureXml mode WTF?
         elif textmode == "pureXml":
             if pagediv is not None:
                 return serialize(pagediv)