#NEWLINE# def __new__( cls , command , headers , body = '' ) : #NEWLINE# #INDENT# if ( command not in ALL_CMDS ) : #NEWLINE# #INDENT# raise ValueError ( ( ( ( ( 'invalid STOMP command: ' + repr ( command ) ) + ' (valid commands are ' ) + ', ' . join ( [ repr ( c ) for c in ALL_CMDS ] ) ) + ')' ) ) #NEWLINE# #UNINDENT# return super ( cls , Frame ) . __new__ ( cls , command , headers , body )