summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Tools/RPMng.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/Client/Tools/RPMng.py b/src/lib/Client/Tools/RPMng.py
index b1f4c087e..b8f09ed3e 100644
--- a/src/lib/Client/Tools/RPMng.py
+++ b/src/lib/Client/Tools/RPMng.py
@@ -363,11 +363,10 @@ class RPMng(Bcfg2.Client.Tools.PkgTool):
self.instance_status[inst]['verify_fail'] = True
# Check the rpm verify file results against the modlist
- # and per Instance Ignores.
+ # and entry and per Instance Ignores.
+ ignores = [ig.get('name') for ig in entry.findall('Ignore')] + [ig.get('name') for ig in inst.findall('Ignore')]
for file_result in result.get('files', []):
- if file_result[-1] not in modlist + \
- [ignore.get('name') for ignore \
- in inst.findall('Ignore')]:
+ if file_result[-1] not in modlist + ignores:
instance_fail = True
self.instance_status[inst]['verify_fail'] = True
else: