#NEWLINE# def setVersion( self , version ) : #NEWLINE# #INDENT# if ( len ( version ) != 9 ) : #NEWLINE# #INDENT# raise MessageError ( 'Could not set ANT version (expected 9 bytes).' ) #NEWLINE# #UNINDENT# self . setPayload ( self )