Skip to content

Commit 7dfcfef

Browse files
committed
[WPE][GTK] Flatpak check on host without flatpak throws a traceback
https://bugs.webkit.org/show_bug.cgi?id=257376 Reviewed by Michael Catanzaro. * Tools/flatpak/flatpakutils.py: (check_flatpak): Return early when flatpak command is not found. Canonical link: https://commits.webkit.org/264583@main
1 parent 2c9d24b commit 7dfcfef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/flatpak/flatpakutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def check_flatpak(verbose=True):
196196
" how to install it for your distribution at:\n"
197197
" * https://flatpak.org/\n", required_version,
198198
sys.argv[0])
199-
return ()
199+
return ()
200200

201201
def comparable_version(version):
202202
return tuple(map(int, (version.split("."))))

0 commit comments

Comments
 (0)