2009-12-06 Adam Barth <abarth@webkit.org>
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Dec 2009 05:20:13 +0000 (05:20 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Dec 2009 05:20:13 +0000 (05:20 +0000)
        Reviewed by Eric Seidel.

        Add early warning system commands to bugzilla-tool.

        * Scripts/bugzilla-tool:
        * Scripts/modules/landingsequence.py:
        * Scripts/modules/webkitport.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@51747 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/Scripts/bugzilla-tool
WebKitTools/Scripts/modules/landingsequence.py
WebKitTools/Scripts/modules/webkitport.py

index a01e756d4fd0df63f6b36753e25a1ddf44c90566..d8e6d29cbcec4733c38b8f7a23de66e4af2654e1 100644 (file)
@@ -1,3 +1,13 @@
+2009-12-06  Adam Barth  <abarth@webkit.org>
+
+        Reviewed by Eric Seidel.
+
+        Add early warning system commands to bugzilla-tool.
+
+        * Scripts/bugzilla-tool:
+        * Scripts/modules/landingsequence.py:
+        * Scripts/modules/webkitport.py:
+
 2009-12-06  Adam Barth  <abarth@webkit.org>
 
         Reviewed by Eric Seidel.
index 764a13870eeb30b4924c74ab1126f87f038c2684..e0f56cb62171791c705583a2af5d001c5a6d2088 100755 (executable)
@@ -36,6 +36,7 @@ from modules.bugzilla import Bugzilla
 from modules.buildbot import BuildBot
 from modules.buildsteps import BuildSteps
 from modules.commands.download import *
+from modules.commands.early_warning_system import *
 from modules.commands.queries import *
 from modules.commands.queues import *
 from modules.commands.upload import *
index b7bed2b0f6229c4159dccdd6e88e9e68f6afe87a..1f818c3ff58f41f036067374a126fd8906601ed2 100644 (file)
@@ -45,7 +45,7 @@ class LandingSequence:
         self._patch = patch
         self._options = options
         self._tool = tool
-        self._port = WebKitPort.port(self._options)
+        self._port = WebKitPort.port(self._options.port)
 
     def run(self):
         self.clean()
index e769171725a0afdd447151063772a70d9d2bcd51..37dd41dc452577f5878a249acd21a8f1b6940d3d 100644 (file)
@@ -45,12 +45,12 @@ class WebKitPort():
         ]
 
     @staticmethod
-    def port(options):
-        if options.port == "mac":
+    def port(port_name):
+        if port_name == "mac":
             return MacPort
-        if options.port == "qt":
+        if port_name == "qt":
             return QtPort
-        if options.port == "chromium":
+        if port_name == "chromium":
             return ChromiumPort
         # FIXME: We should default to WinPort on Windows.
         return MacPort