summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-08-28 02:26:31 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-08-28 02:26:31 +0000
commit9f0950c83eaed72fecd522c13fc762989329a3b6 (patch)
treed58dabb9df39e025067f5ecf5cb6c768770132d7
parent3d9e9ffc5758bb6ea87a2d78f024e76eeefa05e1 (diff)
downloadbcfg2-9f0950c83eaed72fecd522c13fc762989329a3b6.tar.gz
bcfg2-9f0950c83eaed72fecd522c13fc762989329a3b6.tar.bz2
bcfg2-9f0950c83eaed72fecd522c13fc762989329a3b6.zip
Supress package reverification if packages are incomplete (in YUMng)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3651 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Client/Tools/YUMng.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/YUMng.py b/src/lib/Client/Tools/YUMng.py
index 2228a1af9..d8d3a9d8b 100644
--- a/src/lib/Client/Tools/YUMng.py
+++ b/src/lib/Client/Tools/YUMng.py
@@ -235,7 +235,7 @@ class YUMng(Bcfg2.Client.Tools.RPMng.RPMng):
self.RefreshPackages()
if not self.setup['kevlar']:
- for pkg_entry in packages:
+ for pkg_entry in [p for p in packages if self.canVerify(p)]:
self.logger.debug("Reverifying Failed Package %s" % (pkg_entry.get('name')))
self.states[pkg_entry] = self.VerifyPackage(pkg_entry, \
self.modlists.get(pkg_entry, []))