[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

eric at webkit.org eric at webkit.org
Wed Apr 7 23:58:52 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit b594986c5da9026681eb48de744b11a7e8b07ef5
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Nov 27 18:49:01 2009 +0000

    2009-11-27  Adam Barth  <abarth at webkit.org>
    
            Reviewed by Eric Seidel.
    
            Make commit-queue status not throw an exception where there is not
            status
            https://bugs.webkit.org/show_bug.cgi?id=31936
    
            We need to actually fetch the results of the query to see what's in the
            datastore.
    
            * CommitQueueStatus/queue_status.py:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51444 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index c92e351..af56207 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -2,6 +2,19 @@
 
         Reviewed by Eric Seidel.
 
+        Make commit-queue status not throw an exception where there is not
+        status
+        https://bugs.webkit.org/show_bug.cgi?id=31936
+
+        We need to actually fetch the results of the query to see what's in the
+        datastore.
+
+        * CommitQueueStatus/queue_status.py:
+
+2009-11-27  Adam Barth  <abarth at webkit.org>
+
+        Reviewed by Eric Seidel.
+
         [bzt] unit test ApplyPatches and ApplyAttachment
         https://bugs.webkit.org/show_bug.cgi?id=31935
 
diff --git a/WebKitTools/CommitQueueStatus/queue_status.py b/WebKitTools/CommitQueueStatus/queue_status.py
index f48e83d..dbf05a5 100644
--- a/WebKitTools/CommitQueueStatus/queue_status.py
+++ b/WebKitTools/CommitQueueStatus/queue_status.py
@@ -66,9 +66,10 @@ class MainPage(webapp.RequestHandler):
 
 class PatchStatus(webapp.RequestHandler):
     def get(self, queue_name, attachment_id):
-        statuses = QueueStatus.all().filter('queue_name =', queue_name).filter('active_patch_id =', attachment_id).order('-date')
+        statuses = QueueStatus.all().filter('queue_name =', queue_name).filter('active_patch_id =', attachment_id).order('-date').fetch(1)
         if not statuses:
             self.error(404)
+            return
         self.response.out.write(statuses[0].message)
 
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list