Index: CodeGenerator.py |
diff --git a/CodeGenerator.py b/CodeGenerator.py |
index 10f00969856e084de218af36522cd486cb9748bb..de1029e801fb876ebf45fe7e861fc85d03313e70 100644 |
--- a/CodeGenerator.py |
+++ b/CodeGenerator.py |
@@ -329,11 +329,6 @@ def resolve_type(protocol, prop): |
return protocol.type_definitions[prop["type"]] |
-def new_style(domain): |
- domains = [] |
- return domain["domain"] in domains |
- |
- |
def join_arrays(dict, keys): |
result = [] |
for key in keys: |
@@ -425,8 +420,7 @@ def main(): |
"resolve_type": functools.partial(resolve_type, protocol), |
"type_definition": functools.partial(type_definition, protocol), |
"has_disable": has_disable, |
- "format_include": format_include, |
- "new_style": new_style, |
+ "format_include": format_include |
} |
if domain["domain"] in protocol.generate_domains: |