#NEWLINE# def get_group_id( domain , owner_type , facility_id ) : #NEWLINE# #INDENT# owner_username = get_owner_username ( domain , owner_type , facility_id ) #NEWLINE# try : #NEWLINE# #INDENT# return INDEXED_GROUPS [ domain ] [ owner_username ] . _id #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# return None