From 26b18d8b8554c88546dbdccc54894d60ea7ae5a0 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Wed, 14 Mar 2012 00:38:38 -0400 Subject: [PATCH] modify yum to be used with argsfile and fix a number of items with how it handles "advanced" pkgspecs for the state= cases --- yum | 55 ++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 46 insertions(+), 9 deletions(-) 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('[>