#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# target = [ ] #NEWLINE# target . extend ( aclgenerator . AddRepositoryTags ( '! ' ) ) #NEWLINE# for ( filter_name , terms , ip_ver ) in self . aruba_policies : #NEWLINE# #INDENT# netdestination = 'netdestination' #NEWLINE# if ( ip_ver == 6 ) : #NEWLINE# #INDENT# netdestination += '6' #NEWLINE# #UNINDENT# target . append ( ( 'no %s %s' % ( netdestination , filter_name ) ) ) #NEWLINE# target . append ( ( '%s %s' % ( netdestination , filter_name ) ) ) #NEWLINE# for term in terms : #NEWLINE# #INDENT# target . append ( str ( term ) ) #NEWLINE# #UNINDENT# #UNINDENT# if target : #NEWLINE# #INDENT# target . append ( '' ) #NEWLINE# #UNINDENT# return '\n' . join ( target )