~canonical-ubuntu-qa/apport/prod-et

« back to all changes in this revision

Viewing changes to apport/sandboxutils.py

  • Committer: Brian Murray
  • Date: 2024-06-05 23:48:18 UTC
  • Revision ID: brian@canonical.com-20240605234818-0tkr4ikok3qjcgpx
sandboxutils.py: also needs to work on python2

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
    return [(p, pkg_versions.get(p)) for p in pkgs]
103
103
 
104
104
 
105
 
def _move_base_files_first(pkgs: list[tuple[str, (None | str)]]) -> None:
 
105
def _move_base_files_first(pkgs):
106
106
    """Move base-files to the front or add it if missing."""
107
107
    base_files_version = None
108
108
    for i, (pkg, version) in enumerate(pkgs):