Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2744)

Unified Diff: bindings/scripts/idl_validator.py

Issue 959933002: Move IDLs to 39 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bindings/scripts/idl_types.py ('k') | bindings/scripts/interface_dependency_resolver.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « bindings/scripts/idl_types.py ('k') | bindings/scripts/interface_dependency_resolver.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698