#NEWLINE# def _generate_ip( self , session ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return self . _try_generate_ip ( session ) #NEWLINE# #UNINDENT# except ipam_exc . IpAddressGenerationFailure : #NEWLINE# #INDENT# self . _rebuild_availability_ranges ( session ) #NEWLINE# #UNINDENT# return self . _try_generate_ip ( session )