diff options
Diffstat (limited to 'src/hydrilla/proxy/state_impl/concrete_state.py')
-rw-r--r-- | src/hydrilla/proxy/state_impl/concrete_state.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/hydrilla/proxy/state_impl/concrete_state.py b/src/hydrilla/proxy/state_impl/concrete_state.py index ec16e11..ef698a0 100644 --- a/src/hydrilla/proxy/state_impl/concrete_state.py +++ b/src/hydrilla/proxy/state_impl/concrete_state.py @@ -122,9 +122,13 @@ class ConcreteHaketiloState(base.HaketiloStateWithFields): def import_packages(self, malcontent_path: Path) -> None: with self.cursor(transaction=True) as cursor: - _operations.load_packages(cursor, malcontent_path, 1) + _operations._load_packages_no_state_update( + cursor = cursor, + malcontent_path = malcontent_path, + repo_id = 1 + ) - self.recompute_dependencies() + self.rebuild_structures() def recompute_dependencies( self, @@ -134,8 +138,8 @@ class ConcreteHaketiloState(base.HaketiloStateWithFields): assert self.connection.in_transaction _operations._recompute_dependencies_no_state_update( - cursor, - extra_requirements + cursor = cursor, + extra_requirements = extra_requirements ) self.rebuild_structures() |