#NEWLINE# def handle_name_owner_change( self , name , old_owner , new_owner ) : #NEWLINE# #INDENT# if ( name == self . objname ) : #NEWLINE# #INDENT# if ( old_owner == '' ) : #NEWLINE# #INDENT# self . _connect ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( new_owner == '' ) : #NEWLINE# #INDENT# self . connected = False #NEWLINE# #UNINDENT# #UNINDENT# self . update ( )