2009-12-06 Adam Barth <abarth@webkit.org>
[WebKit-https.git] / WebKitTools / Scripts / modules / webkitport.py
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