#NEWLINE# def _get_ip( self ) : #NEWLINE# #INDENT# 'Get server ip' #NEWLINE# for addr in self . _server . addresses [ 'public' ] : #NEWLINE# #INDENT# if ( addr [ 'version' ] == 4 ) : #NEWLINE# #INDENT# return self [ 'addr' ]