#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# s = [ ] #NEWLINE# s . append ( ( 'Agent:         %s' % self . agent ) ) #NEWLINE# s . append ( ( 'Communities:   %s' % self . communities ) ) #NEWLINE# s . append ( ( 'SNMP retries:  %d' % self . retries ) ) #NEWLINE# s . append ( ( 'SNMP timeout:  %f' % self . timeout ) ) #NEWLINE# s . append ( ( 'SNMP polltime: %d' % self . polltime ) ) #NEWLINE# s . append ( ( 'SNMP port:     %d' % self . port ) ) #NEWLINE# s . append ( ( 'SNMP version:  %d' % self . version ) ) #NEWLINE# s . append ( ( 'SNMP user:     %s' % self . user ) ) #NEWLINE# s . append ( ( 'SNMP context:  %s' % self . context ) ) #NEWLINE# return '\n' . join ( s )