Commit 16b659d7 authored by Devaev Maxim's avatar Devaev Maxim

Fixed bug with range validator

parent ba656726
......@@ -19,6 +19,6 @@ def validBool(arg) :
def validRange(arg, valid_args_list) :
if not arg in valid_args_list :
raise ValidatorError("Argument \"%s\" not in list %s" % (arg, valid_args_list))
raise ValidatorError("Argument \"%s\" not in range %s" % (arg, str(valid_args_list)))
return arg
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment