Commit Graph

1 Commits (b8799ef84e2d3f30626d2c23f5a0a2a4a6031da8)

Author SHA1 Message Date
Till Maas 0469134f16 rhsm_repository: Properly handle no repos (#51938)
When no repos are defined, the `repo` variable is undefined. Therefore
append it only to the result if a repo was found. Otherwise Ansible will
fail with an UnboundLocalError.
6 years ago