'Montana doesn\'t currently list co/multisponsors on any of the
legislation I\'ve seen. So this function only adds the primary
sponsor.'

def _get_tabledata(self, status_page):

    tabledata = defaultdict(list)
    join = '    '.join
    for tr in status_page.xpath('//tr'):
        tds = tr.xpath('td')
        try:
            key = tds[0].text_content().lower()
            if (key == 'primary    sponsor:'):
                val = re.sub('[\\s]+', '    ', tds[1].xpath('./a/text()')[0])
            else:
                val = join(tds[1].text_content().strip().split())
        except IndexError:
            continue
        if (not key.startswith('(')):
            tabledata[key].append(val)
    return dict(tabledata)
