#NEWLINE# def _get_pinger( self , direction ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# pinger = self . _pingers [ direction ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# ( src_namespace , dst_address ) = self . _get_namespace_and_address ( direction ) #NEWLINE# pinger = net_helpers . Pinger ( src_namespace , dst_address ) #NEWLINE# self . _pingers [ direction ] = pinger #NEWLINE# #UNINDENT# return pinger