diff --git a/ognibuild/debian/fix_build.py b/ognibuild/debian/fix_build.py index 753a454..0d7c020 100644 --- a/ognibuild/debian/fix_build.py +++ b/ognibuild/debian/fix_build.py @@ -608,7 +608,7 @@ def build_incrementally( if max_iterations is not None and len(fixed_errors) > max_iterations: logging.warning("Last fix did not address the issue. Giving up.") raise - reset_tree(local_tree, local_tree.basis_tree(), subpath=subpath) + reset_tree(local_tree, subpath=subpath) if e.phase[0] == "build": context = BuildDependencyContext( e.phase,