Title: [139065] trunk/Tools
- Revision
- 139065
- Author
- [email protected]
- Date
- 2013-01-08 09:33:02 -0800 (Tue, 08 Jan 2013)
Log Message
Make the override-feature-defines script compatible with Python v3
https://bugs.webkit.org/show_bug.cgi?id=105742
Reviewed by Martin Robinson.
Instead of printing output through a statement, use the print function and format
the output using the str.format method. This makes the script runnable with Python v3.
* gtk/override-feature-defines:
(adjust_feature_defines_makefile):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (139064 => 139065)
--- trunk/Tools/ChangeLog 2013-01-08 17:29:32 UTC (rev 139064)
+++ trunk/Tools/ChangeLog 2013-01-08 17:33:02 UTC (rev 139065)
@@ -1,3 +1,16 @@
+2013-01-08 Zan Dobersek <[email protected]>
+
+ Make the override-feature-defines script compatible with Python v3
+ https://bugs.webkit.org/show_bug.cgi?id=105742
+
+ Reviewed by Martin Robinson.
+
+ Instead of printing output through a statement, use the print function and format
+ the output using the str.format method. This makes the script runnable with Python v3.
+
+ * gtk/override-feature-defines:
+ (adjust_feature_defines_makefile):
+
2013-01-08 Heikki Paajanen <[email protected]>
[Qt] Fix libxml2 config test
Modified: trunk/Tools/gtk/override-feature-defines (139064 => 139065)
--- trunk/Tools/gtk/override-feature-defines 2013-01-08 17:29:32 UTC (rev 139064)
+++ trunk/Tools/gtk/override-feature-defines 2013-01-08 17:33:02 UTC (rev 139065)
@@ -30,7 +30,7 @@
f.write(feature_defines_makefile)
if overriden_feature_defines:
- print "The following feature defines were overriden:\n%s" % ', '.join(overriden_feature_defines)
+ print("The following feature defines were overriden:\n{0}".format(', '.join(overriden_feature_defines)))
def override_feature_defines(build_dir):
copy_feature_defines_makefile()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes