Cleanup unused variable in yum.py (#4009)

This commit is contained in:
jctanner 2016-06-22 09:30:37 -04:00 committed by Matt Clay
parent b0bdf09a00
commit 4480b8d37f

View file

@ -600,7 +600,6 @@ def install(module, items, repoq, yum_basecmd, conf_file, en_repos, dis_repos):
module.fail_json(**res) module.fail_json(**res)
pkg_name = local_name(module, spec) pkg_name = local_name(module, spec)
pkg_nevra = local_nvra(module, spec)
# look for them in the rpmdb # look for them in the rpmdb
if is_installed(module, repoq, pkg_name, conf_file, en_repos=en_repos, dis_repos=dis_repos): if is_installed(module, repoq, pkg_name, conf_file, en_repos=en_repos, dis_repos=dis_repos):