diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-08-28 02:26:31 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-08-28 02:26:31 +0000 |
commit | 9f0950c83eaed72fecd522c13fc762989329a3b6 (patch) | |
tree | d58dabb9df39e025067f5ecf5cb6c768770132d7 /src/lib/Client/Tools/YUMng.py | |
parent | 3d9e9ffc5758bb6ea87a2d78f024e76eeefa05e1 (diff) | |
download | bcfg2-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
Diffstat (limited to 'src/lib/Client/Tools/YUMng.py')
-rw-r--r-- | src/lib/Client/Tools/YUMng.py | 2 |
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, [])) |