Changeset 51444 in webkit
- Timestamp:
- Nov 27, 2009 10:49:01 AM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r51443 r51444 1 2009-11-27 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Make commit-queue status not throw an exception where there is not 6 status 7 https://bugs.webkit.org/show_bug.cgi?id=31936 8 9 We need to actually fetch the results of the query to see what's in the 10 datastore. 11 12 * CommitQueueStatus/queue_status.py: 13 1 14 2009-11-27 Adam Barth <abarth@webkit.org> 2 15 -
trunk/WebKitTools/CommitQueueStatus/queue_status.py
r51264 r51444 67 67 class PatchStatus(webapp.RequestHandler): 68 68 def get(self, queue_name, attachment_id): 69 statuses = QueueStatus.all().filter('queue_name =', queue_name).filter('active_patch_id =', attachment_id).order('-date') 69 statuses = QueueStatus.all().filter('queue_name =', queue_name).filter('active_patch_id =', attachment_id).order('-date').fetch(1) 70 70 if not statuses: 71 71 self.error(404) 72 return 72 73 self.response.out.write(statuses[0].message) 73 74
Note: See TracChangeset
for help on using the changeset viewer.