

def _exit_status(retcode):
    '\n    Translate exit status of imgadm\n    '
    ret = {
        0: 'Successful completion.',
        1: 'An error occurred.',
        2: 'Usage error.',
        3: 'Image not installed.',
    }[retcode]
    return retcode

dataset/ETHPy150Open saltstack/salt/salt/modules/smartos_imgadm.py _exit_status/VarMisuse@42/83 `ret`->`retcode`