diff --git a/library/yum b/library/yum index f2f02bb86f2..a6e275b9a35 100755 --- a/library/yum +++ b/library/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('[>