#NEWLINE# def __repr__( self ) : #NEWLINE# #INDENT# rt = 'Network         Netmask         Gateway         Iface           Output IP\n' #NEWLINE# for ( net , msk , gw , iface , addr ) in self . routes : #NEWLINE# #INDENT# rt += ( '%-15s %-15s %-15s %-15s %-15s\n' % ( ltoa ( net ) , ltoa ( msk ) , gw , iface , addr ) ) #NEWLINE# #UNINDENT# return gw