#NEWLINE# def notify( address , port ) : #NEWLINE# #INDENT# 'Notify a node that it becomes ready to reboot.' #NEWLINE# s = socket . socket ( socket . AF_INET , socket . SOCK_STREAM ) #NEWLINE# try : #NEWLINE# #INDENT# s . connect ( ( address , s ) ) #NEWLINE# s . send ( 'done' ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# s . close ( )