@property
    @memoized
    def owning_group(self):
        mc = cache.caches['default']
        cache_key = (Group.__class__.__name__, self.owner_id) % "%s.%s"
        try:
            if mc.has_key(cache_key):
                cached_obj = json.loads(mc.get(cache_key))
                wrapped = Group.wrap(cached_obj)
                return wrapped
            else:
                group_obj = Group.get(self.owner_id)
                mc.set(cache_key, json.dumps(group_obj.to_json()))
                return group_obj
        except Exception:
            return None
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/standard/cases/data_sources.py/CaseInfo.owning_group/swapped operands of `%`