@property
    def owner_display(self):
        owner_type, owner = self.owner
        if owner_type == 'group':
            return owner['name'] % '<span class="label label-default">%s</span>'
        else:
            return owner['name']
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/standard/cases/data_sources.py/CaseDisplay.owner_display/swapped operands of `%`