def get_src_parts(self, bundle):
        try:
            return bundle.src_parts
        except __HOLE__:
            parts = ['','']
            bill = bundle.obj
            try:
                ps = bill.proposals.order_by('-date')[0]
                if ps.content_html:
                    parts = ps.content_html.split(p_explanation)
            except IndexError:
                pass
            bundle.src_parts = parts
        return parts
dataset/ETHPy150Open ofri/Open-Knesset/laws/api.py/BillResource.get_src_parts