Title: [290771] trunk/Tools
Revision
290771
Author
[email protected]
Date
2022-03-03 01:51:04 -0800 (Thu, 03 Mar 2022)

Log Message

[Python3] Switch a couple glib/flatpak scripts to Python3
https://bugs.webkit.org/show_bug.cgi?id=237377

Patch by Philippe Normand <[email protected]> on 2022-03-03
Reviewed by Carlos Garcia Campos.

* Scripts/update-webkit-flatpak: Update shebang to Python3.
* Scripts/webkit-flatpak: Ditto.
* glib/api_test_runner.py: Ditto.
* glib/common.py: Remove useless shebang.
* glib/generate-inspector-gresource-manifest.py: Update shebang to Python3.
* glib/svn-revision: Ditto.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (290770 => 290771)


--- trunk/Tools/ChangeLog	2022-03-03 07:31:13 UTC (rev 290770)
+++ trunk/Tools/ChangeLog	2022-03-03 09:51:04 UTC (rev 290771)
@@ -1,3 +1,17 @@
+2022-03-03  Philippe Normand  <[email protected]>
+
+        [Python3] Switch a couple glib/flatpak scripts to Python3
+        https://bugs.webkit.org/show_bug.cgi?id=237377
+
+        Reviewed by Carlos Garcia Campos.
+
+        * Scripts/update-webkit-flatpak: Update shebang to Python3.
+        * Scripts/webkit-flatpak: Ditto.
+        * glib/api_test_runner.py: Ditto.
+        * glib/common.py: Remove useless shebang.
+        * glib/generate-inspector-gresource-manifest.py: Update shebang to Python3.
+        * glib/svn-revision: Ditto.
+
 2022-03-02  Lauro Moura  <[email protected]>
 
         [Tools] Fix linux_get_crash_log.py error logging with python3

Modified: trunk/Tools/Scripts/update-webkit-flatpak (290770 => 290771)


--- trunk/Tools/Scripts/update-webkit-flatpak	2022-03-03 07:31:13 UTC (rev 290770)
+++ trunk/Tools/Scripts/update-webkit-flatpak	2022-03-03 09:51:04 UTC (rev 290771)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Copyright (C) 2018 Igalia S.L.
 # Copyright (c) 2018, Thibault Saunier <[email protected]>
 #

Modified: trunk/Tools/Scripts/webkit-flatpak (290770 => 290771)


--- trunk/Tools/Scripts/webkit-flatpak	2022-03-03 07:31:13 UTC (rev 290770)
+++ trunk/Tools/Scripts/webkit-flatpak	2022-03-03 09:51:04 UTC (rev 290771)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Copyright (C) 2018 Igalia S.L.
 # Copyright (c) 2018, Thibault Saunier <[email protected]>
 #
@@ -25,4 +25,4 @@
 from flatpakutils import WebkitFlatpak
 
 if __name__ == "__main__":
-    sys.exit(WebkitFlatpak.load_from_args().run())
\ No newline at end of file
+    sys.exit(WebkitFlatpak.load_from_args().run())

Modified: trunk/Tools/glib/api_test_runner.py (290770 => 290771)


--- trunk/Tools/glib/api_test_runner.py	2022-03-03 07:31:13 UTC (rev 290770)
+++ trunk/Tools/glib/api_test_runner.py	2022-03-03 09:51:04 UTC (rev 290771)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Copyright (C) 2011, 2012, 2017 Igalia S.L.
 #

Modified: trunk/Tools/glib/common.py (290770 => 290771)


--- trunk/Tools/glib/common.py	2022-03-03 07:31:13 UTC (rev 290770)
+++ trunk/Tools/glib/common.py	2022-03-03 09:51:04 UTC (rev 290771)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # Copyright (C) 2011 Igalia S.L.
 #
 # This library is free software; you can redistribute it and/or

Modified: trunk/Tools/glib/generate-inspector-gresource-manifest.py (290770 => 290771)


--- trunk/Tools/glib/generate-inspector-gresource-manifest.py	2022-03-03 07:31:13 UTC (rev 290770)
+++ trunk/Tools/glib/generate-inspector-gresource-manifest.py	2022-03-03 09:51:04 UTC (rev 290771)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Copyright (C) 2013 Igalia S.L.
 #
 # This library is free software; you can redistribute it and/or

Modified: trunk/Tools/glib/svn-revision (290770 => 290771)


--- trunk/Tools/glib/svn-revision	2022-03-03 07:31:13 UTC (rev 290770)
+++ trunk/Tools/glib/svn-revision	2022-03-03 09:51:04 UTC (rev 290771)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Copyright (C) 2019 Igalia S.L.
 #
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to