#NEWLINE# def changeVariables( self , source , variables ) : #NEWLINE# #INDENT# owner = variables . get ( 'dhowner' ) #NEWLINE# if ( not isinstance ( owner , IDropTarget ) ) : #NEWLINE# #INDENT# logger . critical ( ( ( 'DropHandler owner ' + owner ) + ' must implement IDropTarget' ) ) #NEWLINE# return #NEWLINE# #UNINDENT# dropTarget = owner #NEWLINE# self . _lastVisitId = variables . get ( 'visitId' ) #NEWLINE# dropRequest = self . isDropRequest ( variables ) #NEWLINE# if dropRequest : #NEWLINE# #INDENT# self . handleDropRequest ( dropTarget , variables ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . handleDragRequest ( dropTarget , variables )