diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-08-05 09:02:21 -0400 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-08-05 09:17:30 -0400 |
commit | a276bfa57cdcd1b9ba40e00520ae0e86247cfc33 (patch) | |
tree | 4e69317fbb2cb5e5d3d1c498bdaf9d23d74a235b /components/script/dom/bindings/codegen/Configuration.py | |
parent | 56d3426431d98a6f43698f33bb7ce4d3ad67adeb (diff) | |
download | servo-a276bfa57cdcd1b9ba40e00520ae0e86247cfc33.tar.gz servo-a276bfa57cdcd1b9ba40e00520ae0e86247cfc33.zip |
Remove dead Python code in binding generating code
Fixes #6956
Diffstat (limited to 'components/script/dom/bindings/codegen/Configuration.py')
-rw-r--r-- | components/script/dom/bindings/codegen/Configuration.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/components/script/dom/bindings/codegen/Configuration.py b/components/script/dom/bindings/codegen/Configuration.py index 436823a9329..4e740f83a16 100644 --- a/components/script/dom/bindings/codegen/Configuration.py +++ b/components/script/dom/bindings/codegen/Configuration.py @@ -4,8 +4,6 @@ from WebIDL import IDLInterface -autogenerated_comment = "/* THIS FILE IS AUTOGENERATED - DO NOT EDIT */\n" - class Configuration: """ @@ -344,17 +342,6 @@ def getTypesFromDescriptor(descriptor): return types -def getFlatTypes(types): - retval = set() - for type in types: - type = type.unroll() - if type.isUnion(): - retval |= set(type.flatMemberTypes) - else: - retval.add(type) - return retval - - def getTypesFromDictionary(dictionary): """ Get all member types for this dictionary |