[webkit-changes] [WebKit/WebKit] b7a2c9: Remove unreachable code from Python tools

Sam Sneddon noreply at github.com
Wed Dec 11 13:19:36 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b7a2c9869a47caee7ce6d6212307b0933ef9e1c7
      https://github.com/WebKit/WebKit/commit/b7a2c9869a47caee7ce6d6212307b0933ef9e1c7
  Author: Sam Sneddon <gsnedders at apple.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M Tools/Scripts/libraries/webkitcorepy/webkitcorepy/mocks/subprocess.py
    M Tools/Scripts/libraries/webkitcorepy/webkitcorepy/mocks/terminal.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/scm_base.py
    M Tools/Scripts/webkitpy/port/gtk.py
    M Tools/flatpak/flatpakutils.py

  Log Message:
  -----------
  Remove unreachable code from Python tools
https://bugs.webkit.org/show_bug.cgi?id=284480

Reviewed by Jonathan Bedard.

Most of this was left behind in 287424 at main as a result of limitations
of how it was automatically rewritten, but this also fixes other
pre-existing cases.

* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/mocks/subprocess.py:
(Subprocess.completion_generator_for):
* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/mocks/terminal.py:
(Terminal.input):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/scm_base.py:
(ScmBase.gmtoffset):
* Tools/Scripts/webkitpy/port/gtk.py:
(GtkPort._is_gtk4_build):
* Tools/flatpak/flatpakutils.py:
(WebkitFlatpak.run_in_sandbox):
(WebkitFlatpak.run):

Canonical link: https://commits.webkit.org/287692@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list