def __unicode__(self):
        s = u'%s' % (self.get_name_display(),)
        if self.seat:
            s = u'%s (%s)' % (s, self.seat)
        return s
dataset/ETHPy150Open california-civic-data-coalition/django-calaccess-campaign-browser/calaccess_campaign_browser/models/elections.py/Office.__unicode__/original