def get_organization_by_short_name(organization_short_name):
 if (not organizations_enabled()):
  return None
 from organizations import api as organizations_api
 from organizations.exceptions import InvalidOrganizationException
 try:
  return organizations_api.get_organization_by_short_name(organization_short_name)
 except InvalidOrganizationException:
  return None

def get_organization_by_short_name ( organization_short_name ) : if ( not organizations_enabled ( ) ) : return None from organizations import api as organizations_api from organizations . exceptions import InvalidOrganizationException try : return organizations_api . get_organization_by_short_name ( organization_short_name ) except InvalidOrganizationException : return None
client api operation adapter/wrapper .