From 51fd0cc817aa9efea24d62e735fdc47133b1622b Mon Sep 17 00:00:00 2001 From: Petr Stodulka Date: Thu, 16 Nov 2023 18:30:53 +0100 Subject: [PATCH] adjustlocalrepos: suppress unwanted deprecation report --- repos/system_upgrade/common/actors/adjustlocalrepos/actor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/repos/system_upgrade/common/actors/adjustlocalrepos/actor.py b/repos/system_upgrade/common/actors/adjustlocalrepos/actor.py index 064e7f3e00..0d0cc1d09d 100644 --- a/repos/system_upgrade/common/actors/adjustlocalrepos/actor.py +++ b/repos/system_upgrade/common/actors/adjustlocalrepos/actor.py @@ -9,8 +9,10 @@ UsedTargetRepositories ) from leapp.tags import IPUWorkflowTag, TargetTransactionChecksPhaseTag +from leapp.utils.deprecation import suppress_deprecation +@suppress_deprecation(TMPTargetRepositoriesFacts) class AdjustLocalRepos(Actor): """ Adjust local repositories to the target user-space container. @@ -25,7 +27,7 @@ class AdjustLocalRepos(Actor): name = 'adjust_local_repos' consumes = (TargetOSInstallationImage, TargetUserSpaceInfo, - TMPTargetRepositoriesFacts, + TMPTargetRepositoriesFacts, # deprecated UsedTargetRepositories) produces = () tags = (IPUWorkflowTag, TargetTransactionChecksPhaseTag)