Changeset 139065 in webkit


Ignore:
Timestamp:
Jan 8, 2013 9:33:02 AM (11 years ago)
Author:
zandobersek@gmail.com
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):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r139052 r139065  
     12013-01-08  Zan Dobersek  <zandobersek@gmail.com>
     2
     3        Make the override-feature-defines script compatible with Python v3
     4        https://bugs.webkit.org/show_bug.cgi?id=105742
     5
     6        Reviewed by Martin Robinson.
     7
     8        Instead of printing output through a statement, use the print function and format
     9        the output using the str.format method. This makes the script runnable with Python v3.
     10
     11        * gtk/override-feature-defines:
     12        (adjust_feature_defines_makefile):
     13
    1142013-01-08  Heikki Paajanen  <heikki.paajanen@palm.com>
    215
  • trunk/Tools/gtk/override-feature-defines

    r137270 r139065  
    3131
    3232    if overriden_feature_defines:
    33         print "The following feature defines were overriden:\n%s" % ', '.join(overriden_feature_defines)
     33        print("The following feature defines were overriden:\n{0}".format(', '.join(overriden_feature_defines)))
    3434
    3535def override_feature_defines(build_dir):
Note: See TracChangeset for help on using the changeset viewer.