

def obj_make_compatible(self, primitive, target_version):
    super(Instance, self).obj_make_compatible(primitive, target_version)
    target_version = versionutils.convert_version_to_tuple(target_version)
    if ((primitive < (2, 1)) and ('services' in primitive)):
        del primitive['services']

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/objects/instance.py Instance.obj_make_compatible/VarMisuse@40/57 `target_version`->`primitive`