# HG changeset patch # User abukhman # Date 1288003272 -7200 # Node ID d573866dd95bd77d36cc0fd0d4c6411c44f08498 # Parent 0aa294b31236f975f37b188be361f4489522fe85 *** empty log message *** diff -r 0aa294b31236 -r d573866dd95b MpdlXmlTextServer.py --- a/MpdlXmlTextServer.py Mon Oct 25 12:35:27 2010 +0200 +++ b/MpdlXmlTextServer.py Mon Oct 25 12:41:12 2010 +0200 @@ -196,7 +196,7 @@ return originalPage - def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""): + def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""): """returns single page from fulltext""" docpath = docinfo['textURLPath'] path = docinfo['textURLPath'] @@ -213,7 +213,7 @@ textmode = "textPollux" else: textmode = mode - #logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) + logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) 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)