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

abarth at webkit.org abarth at webkit.org
Thu Apr 8 00:39:41 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 385fcedde951206dc2a58cbb2fea18d3073ac76f
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Dec 17 07:37:09 2009 +0000

    2009-12-16  Adam Barth  <abarth at webkit.org>
    
            Unreviewed.  Added a default argument to _update_status so that callers
            don't have to explictly pass None when they don't have a patch object.
    
            * Scripts/modules/commands/queues.py:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52238 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index 963d693..8360b35 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,10 @@
+2009-12-16  Adam Barth  <abarth at webkit.org>
+
+        Unreviewed.  Added a default argument to _update_status so that callers
+        don't have to explictly pass None when they don't have a patch object.
+
+        * Scripts/modules/commands/queues.py:
+
 2009-12-16  Kent Tamura  <tkent at chromium.org>
 
         Reviewed by David Levin.
diff --git a/WebKitTools/Scripts/modules/commands/queues.py b/WebKitTools/Scripts/modules/commands/queues.py
index b255bf9..7ffa98b 100644
--- a/WebKitTools/Scripts/modules/commands/queues.py
+++ b/WebKitTools/Scripts/modules/commands/queues.py
@@ -58,7 +58,7 @@ class AbstractQueue(Command, WorkQueueDelegate):
         except Exception, e:
             log("Failed to CC watchers: %s." % e)
 
-    def _update_status(self, message, patch, results_file=None):
+    def _update_status(self, message, patch=None, results_file=None):
         self.tool.status_bot.update_status(self.name, message, patch, results_file)
 
     def queue_log_path(self):
@@ -120,7 +120,7 @@ class CommitQueue(AbstractQueue, StepSequenceErrorHandler):
     def next_work_item(self):
         patches = self.tool.bugs.fetch_patches_from_commit_queue(reject_invalid_patches=True)
         if not patches:
-            self._update_status("Empty queue.", None)
+            self._update_status("Empty queue.")
             return None
         # Only bother logging if we have patches in the queue.
         self.log_progress([patch['id'] for patch in patches])

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list