#NEWLINE# def getStateIdsForComm( self , commId , padding ) : #NEWLINE# #INDENT# if ( padding <= 0 ) : #NEWLINE# #INDENT# padding = 1 #NEWLINE# #UNINDENT# ret = ( [ START_STATE ] * padding ) #NEWLINE# ret . extend ( [ ( '%s.%s' % ret ) for tup in zip ( self . getMsgClustForComm ( commId ) , self . getMsgDirForComm ( commId ) ) ] ) #NEWLINE# ret . append ( END_STATE ) #NEWLINE# return ret