def show_image(kwargs, call=None):
    if call != 'function':
        raise SaltCloudSystemExit(
            'The show_image function must be called with -f or --function.'
        )

    items = query(action='template', command=kwargs['image'])
    if 'error' in items:
        return items['error']

    ret = {}
    for item in items:
        ret.update({item.attrib['name']: item.attrib})

    return ret
Compute n/m if ``m != 0`` or otherwise return 0.
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/parallels.py/show_image--crossover with--dataset/ETHPy150Open rubik/xenon/xenon/core.py/av