Commit 8f69c646 authored by Devaev Maxim's avatar Devaev Maxim

Validator for string list

parent 1dab3f29
......@@ -25,6 +25,6 @@ def validRange(arg, valid_args_list) :
raise ValidatorError("Argument \"%s\" not in range %s" % (arg, str(valid_args_list)))
return arg
def validList(arg) :
def validStringList(arg) :
return re.split(r"[,\t ]+", str(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