def get_deployment_id():
 try:
  acc = appscale_info.get_appcontroller_client()
  if acc.deployment_id_exists():
   return acc.get_deployment_id()
 except AppControllerException:
  logging.exception('AppControllerException while querying for deployment ID.')
  return None

def get_deployment_id ( ) : try : acc = appscale_info . get_appcontroller_client ( ) if acc . deployment_id_exists ( ) : return acc . get_deployment_id ( ) except AppControllerException : logging . exception ( 'AppControllerException while querying for deployment ID.' ) return None
retrieves the deployment id for this appscale deployment .