Merge pull request #8988 from bbasleeper/bugfix_yum_module

Fix a bug causing yum module to not update to latest in some cases
This commit is contained in:
Michael DeHaan 2014-09-12 15:43:43 -04:00
commit 267b3fb7b7

View file

@ -672,7 +672,7 @@ def latest(module, items, repoq, yum_basecmd, conf_file, en_repos, dis_repos):
nothing_to_do = False
break
if basecmd == 'update' and is_update(module, repoq, this, conf_file, en_repos=en_repos, dis_repos=en_repos):
if basecmd == 'update' and is_update(module, repoq, this, conf_file, en_repos=en_repos, dis_repos=dis_repos):
nothing_to_do = False
break