More refactoring.

This commit is contained in:
Jelmer Vernooij 2021-03-02 02:18:36 +00:00
parent ea32f33f90
commit 52e119022b
No known key found for this signature in database
GPG key ID: 579C160D4C9E23E8
10 changed files with 135 additions and 66 deletions

View file

@ -133,7 +133,7 @@ def create_dist_schroot(
) -> str:
from .buildsystem import detect_buildsystems
from .resolver.apt import AptResolver
from .buildlog import RequirementFixer
from .buildlog import InstallFixer
if subdir is None:
subdir = "package"
@ -159,7 +159,7 @@ def create_dist_schroot(
buildsystems = list(detect_buildsystems(export_directory))
resolver = AptResolver.from_session(session)
fixers = [RequirementFixer(resolver)]
fixers = [InstallFixer(resolver)]
with DistCatcher(export_directory) as dc:
oldcwd = os.getcwd()