Changeset 752:4c870a3ff2cc in hatta-dev
Legend:
- Unmodified
- Added
- Removed
-
hatta.py
r751 r752 1480 1480 1481 1481 if text is None: 1482 get_text = getattr(page, 'plain_text', lambda : u'')1482 get_text = getattr(page, 'plain_text', lambda x: u'') 1483 1483 try: 1484 1484 text = get_text() 1485 1485 except werkzeug.exceptions.NotFound: 1486 1486 text = u'' 1487 extract_links = getattr(page, 'extract_links', lambda : [])1487 extract_links = getattr(page, 'extract_links', lambda x: []) 1488 1488 if text: 1489 1489 self.update_links(title, extract_links(text), cursor=cursor)
Note: See TracChangeset
for help on using the changeset viewer.
