

def obj_update(self, bundle, request=None, **kwargs):
    'Avoid concurrency error caused by the setting of latest_version'
    request = (request or bundle.request)
    bundle = self.check_read_create(bundle)
    try:
        bundle = super(MTResource, self).obj_update(bundle, **kwargs)
        bundle.obj.cc_version = self.model.objects.get(id=self.obj.id).cc_version
        bundle.obj.save(user=request.user)
    except Exception:
        logger.exception('error updating %s', bundle)
        raise
    return bundle

dataset/ETHPy150Open mozilla/moztrap/moztrap/model/core/api.py ProductVersionResource.obj_update/VarMisuse@77/107 `bundle`->`self`