From 00487547c4aff6bf0c94438768191960a3369365 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Tue, 27 Sep 2022 13:42:55 +0200 Subject: [proxy] facilitate manually pruning orphaned packages (including installed ones) --- src/hydrilla/proxy/state_impl/items.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hydrilla/proxy/state_impl/items.py') diff --git a/src/hydrilla/proxy/state_impl/items.py b/src/hydrilla/proxy/state_impl/items.py index e9cabb5..d312db9 100644 --- a/src/hydrilla/proxy/state_impl/items.py +++ b/src/hydrilla/proxy/state_impl/items.py @@ -124,7 +124,7 @@ def _uninstall_version(ref: VersionRefVar) -> t.Optional[VersionRefVar]: _set_installed_status(cursor, ref.id, 'N') - ref.state.prune_orphans() + ref.state.soft_prune_orphan_items() if active_status != 'N': ref.state.recompute_dependencies() -- cgit v1.2.3