Unreviewed, rolling out r233511.
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jul 2018 07:40:00 +0000 (07:40 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jul 2018 07:40:00 +0000 (07:40 +0000)
Proper fix provided in bug #187322

Reverted changeset:

"Unreviewed. Fixing a call in flatpakutils.py to
PortFactory.get(),"
https://trac.webkit.org/changeset/233511

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

Tools/ChangeLog
Tools/flatpak/flatpakutils.py

index ab40286..7e58a25 100644 (file)
@@ -1,3 +1,15 @@
+2018-07-05  Zan Dobersek  <zdobersek@igalia.com>
+
+        Unreviewed, rolling out r233511.
+
+        Proper fix provided in bug #187322
+
+        Reverted changeset:
+
+        "Unreviewed. Fixing a call in flatpakutils.py to
+        PortFactory.get(),"
+        https://trac.webkit.org/changeset/233511
+
 2018-07-04  Zan Dobersek  <zdobersek@igalia.com>
 
         Unreviewed. Fixing a call in flatpakutils.py to PortFactory.get(),
index 19e3237..48d2561 100644 (file)
@@ -556,14 +556,14 @@ class WebkitFlatpak:
         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.lower())
+            port = factory.get(self.platform)
             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 = ""