Changeset 128333 in webkit


Ignore:
Timestamp:
Sep 12, 2012 10:20:04 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Fix Qt/Windows build with Python3
https://bugs.webkit.org/show_bug.cgi?id=96473

Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-09-12
Reviewed by Csaba Osztrogonác.

In Python 3 print is a real function, so we must use parentheses around
the function parameters. This is backwards compatible with Python 2.

  • Scripts/generate-win32-export-forwards:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r128328 r128333  
     12012-09-12  Simon Hausmann  <simon.hausmann@nokia.com>
     2
     3        Fix Qt/Windows build with Python3
     4        https://bugs.webkit.org/show_bug.cgi?id=96473
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        In Python 3 print is a real function, so we must use parentheses around
     9        the function parameters. This is backwards compatible with Python 2.
     10
     11        * Scripts/generate-win32-export-forwards:
     12
    1132012-09-12  Simon Hausmann  <simon.hausmann@nokia.com>
    214
  • trunk/Tools/Scripts/generate-win32-export-forwards

    r123465 r128333  
    4646            symbols.add(match.group("symbol"))
    4747
    48 print "Forwarding %s symbols from %s" % (len(symbols), " ".join(libraries))
     48print("Forwarding %s symbols from %s" % (len(symbols), " ".join(libraries)))
    4949
    5050exportFile = open(outputFileName, "w")
Note: See TracChangeset for help on using the changeset viewer.