Changeset 65773 in webkit


Ignore:
Timestamp:
Aug 20, 2010 8:39:12 PM (14 years ago)
Author:
andreas.kling@nokia.com
Message:

2010-08-20 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

WebKit does not build with Python 2.3
https://bugs.webkit.org/show_bug.cgi?id=44373

Replaced the function sorted() by a call to sort()
on the entry list.
The function sorted() has been added to Python 2.4.
The function method sort() of List works with older
versions of Python.

  • Scripts/create-html-entity-table:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r65737 r65773  
     12010-08-20  Benjamin Poulain  <benjamin.poulain@nokia.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        WebKit does not build with Python 2.3
     6        https://bugs.webkit.org/show_bug.cgi?id=44373
     7
     8        Replaced the function sorted() by a call to sort()
     9        on the entry list.
     10        The function sorted() has been added to Python 2.4.
     11        The function method sort() of List works with older
     12        versions of Python.
     13
     14        * Scripts/create-html-entity-table:
     15
    1162010-08-20  Martin Robinson  <mrobinson@igalia.com>
    217
  • trunk/WebKitTools/Scripts/create-html-entity-table

    r65359 r65773  
    7474html_entity_names_file.close()
    7575
    76 entries = sorted(entries, key=lambda entry: entry['entity'])
     76entries.sort(lambda a, b: cmp(a['entity'], b['entity']))
    7777entity_count = len(entries)
    7878
Note: See TracChangeset for help on using the changeset viewer.