def _get_image(vm_):
 images = avail_images()
 vm_image = str(config.get_cloud_config_value('image', vm_, __opts__, search_global=False))
 if (not vm_image):
  raise SaltCloudNotFound('No image specified for this VM.')
 if (vm_image in images):
  return vm_image
 raise SaltCloudNotFound("The specified image, '{0}', could not be found.".format(vm_image))

def _get_image ( vm_ ) : images = avail_images ( ) vm_image = str ( config . get_cloud_config_value ( 'image' , vm_ , __opts__ , search_global = False ) ) if ( not vm_image ) : raise SaltCloudNotFound ( 'No image specified for this VM.' ) if ( vm_image in images ) : return vm_image raise SaltCloudNotFound ( "The specified image, '{0}', could not be found." . format ( vm_image ) )
return the vms image .