#NEWLINE# def removeAssociation( self , server_url , handle ) : #NEWLINE# #INDENT# assocs = list ( Association . objects . filter ( server_url = server_url , handle = handle ) ) #NEWLINE# assocs_exist = ( len ( assocs ) > 0 ) #NEWLINE# for assoc in assocs : #NEWLINE# #INDENT# assoc . delete ( ) #NEWLINE# #UNINDENT# return assocs