Title: [233511] trunk/Tools
Revision
233511
Author
[email protected]
Date
2018-07-04 22:48:27 -0700 (Wed, 04 Jul 2018)

Log Message

Unreviewed. Fixing a call in flatpakutils.py to PortFactory.get(),
enforcing the passed platform argument to always be lowercase, as is
expected from the PortFactory code.

* flatpak/flatpakutils.py:
(WebkitFlatpak.clean_args):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (233510 => 233511)


--- trunk/Tools/ChangeLog	2018-07-05 03:50:56 UTC (rev 233510)
+++ trunk/Tools/ChangeLog	2018-07-05 05:48:27 UTC (rev 233511)
@@ -1,3 +1,12 @@
+2018-07-04  Zan Dobersek  <[email protected]>
+
+        Unreviewed. Fixing a call in flatpakutils.py to PortFactory.get(),
+        enforcing the passed platform argument to always be lowercase, as is
+        expected from the PortFactory code.
+
+        * flatpak/flatpakutils.py:
+        (WebkitFlatpak.clean_args):
+
 2018-07-04  Tim Horton  <[email protected]>
 
         Introduce PLATFORM(IOSMAC)

Modified: trunk/Tools/flatpak/flatpakutils.py (233510 => 233511)


--- trunk/Tools/flatpak/flatpakutils.py	2018-07-05 03:50:56 UTC (rev 233510)
+++ trunk/Tools/flatpak/flatpakutils.py	2018-07-05 05:48:27 UTC (rev 233511)
@@ -556,14 +556,14 @@
         self.makeargs = ""
 
     def clean_args(self):
+        self.platform = self.platform.upper()
+
         if not self.debug and not self.release:
             factory = PortFactory(SystemHost())
-            port = factory.get(self.platform)
+            port = factory.get(self.platform.lower())
             self.debug = port.default_configuration() == "Debug"
         self.build_type = "Debug" if self.debug else "Release"
 
-        self.platform = self.platform.upper()
-
         if self.gdb is None and '--gdb' in sys.argv:
             self.gdb = ""
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to