Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 263756
Collapse All | Expand All

(-)/usr/lib64/python2.5/site-packages/epydoc/docwriter/html_colorize.py.orig (+6 lines)
Lines 488-493 Link Here
488
        except LookupError:
488
        except LookupError:
489
            coding = 'iso-8859-1'
489
            coding = 'iso-8859-1'
490
            html = html.decode(coding).encode('ascii', 'xmlcharrefreplace')
490
            html = html.decode(coding).encode('ascii', 'xmlcharrefreplace')
491
        except UnicodeDecodeError, ue:
492
            print ue
493
            print self.module_filename
494
            for i in xrange(ue.start, ue.end):
495
                print ord(html[i])
496
            raise
491
497
492
        # Call expandto.
498
        # Call expandto.
493
        html += PYSRC_EXPANDTO_JAVASCRIPT
499
        html += PYSRC_EXPANDTO_JAVASCRIPT

Return to bug 263756