Skip to content

Commit

Permalink
adjustlocalrepos: suppress unwanted deprecation report
Browse files Browse the repository at this point in the history
  • Loading branch information
pirat89 committed Nov 16, 2023
1 parent 5bd7bdf commit 51fd0cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion repos/system_upgrade/common/actors/adjustlocalrepos/actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -25,7 +27,7 @@ class AdjustLocalRepos(Actor):
name = 'adjust_local_repos'
consumes = (TargetOSInstallationImage,
TargetUserSpaceInfo,
TMPTargetRepositoriesFacts,
TMPTargetRepositoriesFacts, # deprecated
UsedTargetRepositories)
produces = ()
tags = (IPUWorkflowTag, TargetTransactionChecksPhaseTag)
Expand Down

0 comments on commit 51fd0cc

Please sign in to comment.