summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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, []))