Index: bindings/scripts/idl_validator.py |
diff --git a/bindings/scripts/idl_validator.py b/bindings/scripts/idl_validator.py |
index 29ccd7d55c97664502c949b934b2ddc11748be76..e75099ee2fe45e2b11e922acd6ab451105879762 100644 |
--- a/bindings/scripts/idl_validator.py |
+++ b/bindings/scripts/idl_validator.py |
@@ -77,8 +77,10 @@ class IDLExtendedAttributeValidator(object): |
return |
if values_string is None: |
values = set([None]) |
+ elif isinstance(values_string, list): |
+ values = set(values_string) |
else: |
- values = set(re.split('[|,]', values_string)) |
+ values = set([values_string]) |
invalid_values = values - valid_values |
if invalid_values: |
invalid_value = invalid_values.pop() |