#NEWLINE# def ValidateConsistency( self , consistency ) : #NEWLINE# #INDENT# if ( ( consistency != 'strong' ) and ( consistency != 'eventual' ) ) : #NEWLINE# #INDENT# raise ValueError ( ( 'Expected "strong" or "eventual" but got %r' % consistency ) )