#NEWLINE# def get_new_address_for_peer( self , peer ) : #NEWLINE# #INDENT# def set_address_for_peer( address ) : #NEWLINE# #INDENT# self . current_address_given_to_peer [ peer ] = address #NEWLINE# return address #NEWLINE# #UNINDENT# d = self . get_new_address ( ) #NEWLINE# d . addCallback ( peer ) #NEWLINE# return d