#NEWLINE# def reload( self , watcher = '' , graceful = True , sequential = False , waiting = False ) : #NEWLINE# #INDENT# assert ( type ( watcher ) == str ) #NEWLINE# assert ( type ( graceful ) == bool ) #NEWLINE# assert ( type ( sequential ) == bool ) #NEWLINE# assert ( type ( waiting ) == bool ) #NEWLINE# reload_command = Dict ( ) #NEWLINE# reload_command . command = 'reload' #NEWLINE# reload_command . properties . name = watcher #NEWLINE# reload_command . properties . graceful = graceful #NEWLINE# reload_command . properties . sequential = sequential #NEWLINE# reload_command . properties . waiting = waiting #NEWLINE# response = self . _client . call ( reload_command ) #NEWLINE# response = response . get ( 'status' , None ) #NEWLINE# if ( sequential and ( response == 'ok' ) ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# return False