Title: [93507] trunk/Source/WebCore
- Revision
- 93507
- Author
- [email protected]
- Date
- 2011-08-22 06:26:47 -0700 (Mon, 22 Aug 2011)
Log Message
Fix generate-inspector-idl for Python3 after r93396
https://bugs.webkit.org/show_bug.cgi?id=66663
Reviewed by Andreas Kling.
In Python3, print is a function instead of a language keyword. Using parentheses
around the argument ensures the code works for both Python 2 and 3.
* inspector/generate-inspector-idl:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (93506 => 93507)
--- trunk/Source/WebCore/ChangeLog 2011-08-22 12:22:24 UTC (rev 93506)
+++ trunk/Source/WebCore/ChangeLog 2011-08-22 13:26:47 UTC (rev 93507)
@@ -1,3 +1,15 @@
+2011-08-22 Benjamin Poulain <[email protected]>
+
+ Fix generate-inspector-idl for Python3 after r93396
+ https://bugs.webkit.org/show_bug.cgi?id=66663
+
+ Reviewed by Andreas Kling.
+
+ In Python3, print is a function instead of a language keyword. Using parentheses
+ around the argument ensures the code works for both Python 2 and 3.
+
+ * inspector/generate-inspector-idl:
+
2011-08-22 Keishi Hattori <[email protected]>
Chrome::setSelectedColorInColorChooser shouldn't be called when color chooser sets a new color
Modified: trunk/Source/WebCore/inspector/generate-inspector-idl (93506 => 93507)
--- trunk/Source/WebCore/inspector/generate-inspector-idl 2011-08-22 12:22:24 UTC (rev 93506)
+++ trunk/Source/WebCore/inspector/generate-inspector-idl 2011-08-22 13:26:47 UTC (rev 93507)
@@ -108,7 +108,7 @@
ref_type = ref_types[type_id]
return type_traits[ref_type["type"]]
else:
- print "Type not found: " + type_id
+ print("Type not found: " + type_id)
return "!! Type not found: " + type_id
for domain in json_api:
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes