#NEWLINE# def validate_non_negative_integer( option , value ) : #NEWLINE# #INDENT# "Validate that 'value' is a positive integer or 0.\n    " #NEWLINE# val = validate_integer ( option , value ) #NEWLINE# if ( val < 0 ) : #NEWLINE# #INDENT# raise ValueError ( ( 'The value of %s must be a non negative integer' % ( option , ) ) ) #NEWLINE# #UNINDENT# return val