Changeset 166:ffb5c62bd459 in documentViewer for MpdlXmlTextServer.py


Ignore:
Timestamp:
Aug 24, 2010, 12:34:32 PM (14 years ago)
Author:
abukhman
Branch:
default
Message:

characterNormalization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MpdlXmlTextServer.py

    r165 r166  
    4343        docpath = docinfo['textURLPath']
    4444        url = docinfo['url']
    45         logging.debug("documentViewer (gettoc) docpath: %s"%(docpath))
    46         logging.debug("documentViewer (gettoc) url: %s"%(url))
     45        #logging.debug("documentViewer (gettoc) docpath: %s"%(docpath))
     46        #logging.debug("documentViewer (gettoc) url: %s"%(url))
    4747        pagesize = pageinfo['queryPageSize']
    4848        pn = pageinfo['searchPN']
     
    254254         tocSearch = int(getTextFromNode(numdivs[0]))
    255255         tc=int((tocSearch/10)+1)
    256          logging.debug("documentViewer (gettoc) tc: %s"%(tc))
     256         #logging.debug("documentViewer (gettoc) tc: %s"%(tc))
    257257         return tc
    258258
    259259    def getToc(self, mode="text", docinfo=None):
    260260        """loads table of contents and stores in docinfo"""
    261         logging.debug("documentViewer (gettoc) mode: %s"%(mode))
     261        #logging.debug("documentViewer (gettoc) mode: %s"%(mode))
    262262        if mode == "none":
    263263            return docinfo       
Note: See TracChangeset for help on using the changeset viewer.