def get_application_id():
  """Get the application id of an app.

  Returns:
    The application id of the app.
  """
  full_app_id = os.getenv('APPLICATION_ID')
  _, domain_name, display_app_id = _ParseFullAppId(full_app_id)
  if domain_name:
    return (domain_name, _DOMAIN_SEPARATOR, display_app_id) % '%s%s%s'
  return display_app_id
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/app_identity/app_identity.py/get_application_id/swapped operands of `%`