Skip to content

Commit

Permalink
squash: fix ansible inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
happz authored and psss committed Jul 17, 2024
1 parent cf57d28 commit 36559dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tmt/steps/finish/ansible.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ class FinishAnsible(
# Also, assigning class methods seems to cause trouble to mypy
# See https:/python/mypy/issues/6700
base_command = tmt.steps.finish.FinishPlugin.base_command # type: ignore[assignment]

# `FinishPlugin` plugin would win the inheritance battle and provide
# its no-op `go()`. Force the one from `PrepareAnsible`.
go = PrepareAnsible.go

0 comments on commit 36559dc

Please sign in to comment.