[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

andreas.kling at nokia.com andreas.kling at nokia.com
Wed Dec 22 12:24:22 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 3c90eede6ae438d960095793e4180587d450b4d3
Author: andreas.kling at nokia.com <andreas.kling at nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sat Aug 21 03:39:12 2010 +0000

    2010-08-20  Benjamin Poulain  <benjamin.poulain at 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:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65773 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index 0b2d324..3eac860 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,18 @@
+2010-08-20  Benjamin Poulain  <benjamin.poulain at 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:
+
 2010-08-20  Martin Robinson  <mrobinson at igalia.com>
 
         Reviewed by Pavel Feldman.
diff --git a/WebKitTools/Scripts/create-html-entity-table b/WebKitTools/Scripts/create-html-entity-table
index 46c8c52..c408207 100755
--- a/WebKitTools/Scripts/create-html-entity-table
+++ b/WebKitTools/Scripts/create-html-entity-table
@@ -73,7 +73,7 @@ html_entity_names_file = open(input_path)
 entries = simplejson.load(html_entity_names_file)
 html_entity_names_file.close()
 
-entries = sorted(entries, key=lambda entry: entry['entity'])
+entries.sort(lambda a, b: cmp(a['entity'], b['entity']))
 entity_count = len(entries)
 
 output_file = open(output_path, "w")

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list