Changeset 409:f7d73ea4b38b in documentViewer for MpdlXmlTextServer.py
- Timestamp:
- Nov 25, 2010, 9:03:50 AM (13 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MpdlXmlTextServer.py
r407 r409 144 144 """ Show all Gis Places of whole Page""" 145 145 xpath='//place' 146 docpath = docinfo['textURLPath'] 146 docpath = docinfo.get('textURLPath',None) 147 if not docpath: 148 return None 149 147 150 url = docinfo['url'] 148 151 selfurl = self.absolute_url() … … 199 202 def getOrigPages (self, docinfo=None, pageinfo=None): 200 203 """Show original page """ 201 docpath = docinfo['textURLPath'] 204 docpath = docinfo.get('textURLPath',None) 205 if not docpath: 206 return None 207 202 208 logging.debug ("docinfo['textURLPath']=%s"%(docinfo['textURLPath'])) 203 209 #url = docinfo['url']
Note: See TracChangeset
for help on using the changeset viewer.