diff --git a/yum b/yum index f2f02bb86f2..a6e275b9a35 100755 --- a/yum +++ b/yum @@ -117,7 +117,6 @@ def ensure(my, state, pkgspec): yumconf = my.conf.config_file_path res = {} if state == 'installed': - pkg = None # check if pkgspec is installed if re.search('[>