#NEWLINE# def get_default_contact_for_location( domain , location_id ) : #NEWLINE# #INDENT# users = CommCareUser . by_domain ( domain ) #NEWLINE# for user in users : #NEWLINE# #INDENT# if ( user . get_domain_membership ( domain ) . location_id == location_id ) : #NEWLINE# #INDENT# return user #NEWLINE# #UNINDENT# #UNINDENT# return None