⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243387 in webkit


Ignore:
Timestamp:
Mar 22, 2019, 10:40:14 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

[Flatpak] Manifest expanding fails for qt WPE extension
https://bugs.webkit.org/show_bug.cgi?id=196148

Patch by Philippe Normand <pnormand@igalia.com> on 2019-03-22
Reviewed by Alex Christensen.

  • flatpak/flatpakutils.py:

(expand_submodules_recurse): The last recurse manifest expand
iteration might lead to a single module so take it into account
and don't try to recurse further.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r243385 r243387  
     12019-03-22  Philippe Normand  <pnormand@igalia.com>
     2
     3        [Flatpak] Manifest expanding fails for qt WPE extension
     4        https://bugs.webkit.org/show_bug.cgi?id=196148
     5
     6        Reviewed by Alex Christensen.
     7
     8        * flatpak/flatpakutils.py:
     9        (expand_submodules_recurse): The last recurse manifest expand
     10        iteration might lead to a single module so take it into account
     11        and don't try to recurse further.
     12
    1132019-03-22  Chris Dumez  <cdumez@apple.com>
    214
  • trunk/Tools/flatpak/flatpakutils.py

    r242882 r243387  
    171171        submanifest = load_manifest(submanifest_path, port_name=port_name, command=command)
    172172        all_modules.extend(expand_submodules_recurse(submanifest, submanifest_path, port_name, command))
     173        return all_modules
     174
     175    # The last recurse manifest expand iteration might lead to a single module.
     176    if not isinstance(modules, list):
     177        all_modules.append(modules)
    173178        return all_modules
    174179
Note: See TracChangeset for help on using the changeset viewer.