changeset 379:4b1b5dd7578f

*** empty log message ***
author abukhman
date Mon, 25 Oct 2010 14:23:42 +0200
parents df40c63d69f4
children b5166d5c42fe
files MpdlXmlTextServer.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Mon Oct 25 14:13:22 2010 +0200
+++ b/MpdlXmlTextServer.py	Mon Oct 25 14:23:42 2010 +0200
@@ -218,8 +218,9 @@
         textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization)
         if highlightQuery is not None:
             textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn)           
-            logging.debug("documentViewer highlightQuery: %s"%(highlightQuery))
+            #logging.debug("documentViewer highlightQuery: %s"%(highlightQuery))
         pagexml = self.getServerData("page-fragment.xql",textParam)
+        logging.debug("documentViewer highlightQuery: %s"%(highlightQuery))
         #pagexml=self.template.fulltextclient.eval("/mpdl/interface/page-fragment.xql", textParam, outputUnicode=False)
         
         pagedom = Parse(pagexml)