--- documentViewer/MpdlXmlTextServer.py 2010/10/05 09:58:00 1.46 +++ documentViewer/MpdlXmlTextServer.py 2010/10/08 12:25:40 1.66 @@ -118,8 +118,8 @@ class MpdlXmlTextServer(SimpleItem): return serializeNode(pagenode) return "no text here" - def getNumPages(self, docinfo): - """get list of pages from fulltext and put in docinfo""" + """def getNumPages(self, docinfo): + ""get list of pages from fulltext and put in docinfo"" if 'numPages' in docinfo: # already there return docinfo @@ -127,7 +127,7 @@ class MpdlXmlTextServer(SimpleItem): text = self.getServerData("xquery.xql","document=%s&xquery=%s"%(docinfo['textURLPath'],xquery)) docinfo['numPages'] = text.count("