#NEWLINE# @ classmethod #NEWLINE# def _validate_format( self , format ) : #NEWLINE# #INDENT# if ( format not in self . FORMAT_VALUES ) : #NEWLINE# #INDENT# raise ValueError ( ( 'unknown format type %s, must be one of %s' % ( format , self . FORMAT_VALUES ) ) )