Title: [148630] trunk/Source/WebCore
- Revision
- 148630
- Author
- [email protected]
- Date
- 2013-04-17 13:14:33 -0700 (Wed, 17 Apr 2013)
Log Message
Web Inspector: make generate-inspector-protocol-version work with python3
https://bugs.webkit.org/show_bug.cgi?id=114717
Revision r146765 added print() calls that made the script complain about
invalid syntax when using python3.
This commit replaces such calls with calls to sys.stdout.write(), analogous
to the sys.stderr.write() ones already used throughout the file.
Patch by Sergio Correia <[email protected]> on 2013-04-17
Reviewed by Timothy Hatcher.
No new tests. No user visible behavior changed.
* inspector/generate-inspector-protocol-version:
(main):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (148629 => 148630)
--- trunk/Source/WebCore/ChangeLog 2013-04-17 20:11:26 UTC (rev 148629)
+++ trunk/Source/WebCore/ChangeLog 2013-04-17 20:14:33 UTC (rev 148630)
@@ -1,3 +1,21 @@
+2013-04-17 Sergio Correia <[email protected]>
+
+ Web Inspector: make generate-inspector-protocol-version work with python3
+ https://bugs.webkit.org/show_bug.cgi?id=114717
+
+ Revision r146765 added print() calls that made the script complain about
+ invalid syntax when using python3.
+
+ This commit replaces such calls with calls to sys.stdout.write(), analogous
+ to the sys.stderr.write() ones already used throughout the file.
+
+ Reviewed by Timothy Hatcher.
+
+ No new tests. No user visible behavior changed.
+
+ * inspector/generate-inspector-protocol-version:
+ (main):
+
2013-04-17 Seokju Kwon <[email protected]>
Web Inspector: Fix Localized string warngs
Modified: trunk/Source/WebCore/inspector/generate-inspector-protocol-version (148629 => 148630)
--- trunk/Source/WebCore/inspector/generate-inspector-protocol-version 2013-04-17 20:11:26 UTC (rev 148629)
+++ trunk/Source/WebCore/inspector/generate-inspector-protocol-version 2013-04-17 20:14:33 UTC (rev 148630)
@@ -427,9 +427,9 @@
changes = compare_schemas(
load_json(input_path)["domains"], load_json(baseline_path)["domains"], True)
if len(changes) > 0:
- print " Public changes since %s:" % version
+ sys.stdout.write(" Public changes since %s:\n" % version)
for change in changes:
- print " %s" % change
+ sys.stdout.write(" %s\n" % change)
output_file.write("""
#ifndef InspectorProtocolVersion_h
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes