Changeset 93507 in webkit


Ignore:
Timestamp:
Aug 22, 2011 6:26:47 AM (13 years ago)
Author:
benjamin.poulain@nokia.com
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:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r93503 r93507  
     12011-08-22  Benjamin Poulain  <benjamin@webkit.org>
     2
     3        Fix generate-inspector-idl for Python3 after r93396
     4        https://bugs.webkit.org/show_bug.cgi?id=66663
     5
     6        Reviewed by Andreas Kling.
     7
     8        In Python3, print is a function instead of a language keyword. Using parentheses
     9        around the argument ensures the code works for both Python 2 and 3.
     10
     11        * inspector/generate-inspector-idl:
     12
    1132011-08-22  Keishi Hattori  <keishi@webkit.org>
    214
  • trunk/Source/WebCore/inspector/generate-inspector-idl

    r93396 r93507  
    109109            return type_traits[ref_type["type"]]
    110110        else:
    111             print "Type not found: " + type_id
     111            print("Type not found: " + type_id)
    112112            return "!! Type not found: " + type_id
    113113
Note: See TracChangeset for help on using the changeset viewer.