aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/GenerateCSS2PropertiesWebIDL.py
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/bindings/codegen/GenerateCSS2PropertiesWebIDL.py')
-rw-r--r--components/script/dom/bindings/codegen/GenerateCSS2PropertiesWebIDL.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/components/script/dom/bindings/codegen/GenerateCSS2PropertiesWebIDL.py b/components/script/dom/bindings/codegen/GenerateCSS2PropertiesWebIDL.py
index 1bb50afaee7..55303f6c55b 100644
--- a/components/script/dom/bindings/codegen/GenerateCSS2PropertiesWebIDL.py
+++ b/components/script/dom/bindings/codegen/GenerateCSS2PropertiesWebIDL.py
@@ -1,6 +1,6 @@
# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this file,
-# You can obtain one at http://mozilla.org/MPL/2.0/.
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import sys
import string
@@ -18,9 +18,9 @@ for [prop, pref] in propList:
props += " [%s] attribute DOMString %s;\n" % (", ".join(extendedAttrs),
prop)
-idlFile = open(sys.argv[1], "r");
-idlTemplate = idlFile.read();
-idlFile.close();
+idlFile = open(sys.argv[1], "r")
+idlTemplate = idlFile.read()
+idlFile.close()
print ("/* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT */\n\n" +
- string.Template(idlTemplate).substitute({ "props": props }))
+ string.Template(idlTemplate).substitute({"props": props}))