summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Toolset.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-07-14 19:31:49 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-07-14 19:31:49 +0000
commit1d6ff8880ff5f27e1982d19f3bc02db19eeef593 (patch)
tree1d2098ee1230b009f06bc3a5f5946dda2ed12a8f /src/lib/Client/Toolset.py
parent658ab0be8a6bada78a242b48f90dacf051143983 (diff)
downloadbcfg2-1d6ff8880ff5f27e1982d19f3bc02db19eeef593.tar.gz
bcfg2-1d6ff8880ff5f27e1982d19f3bc02db19eeef593.tar.bz2
bcfg2-1d6ff8880ff5f27e1982d19f3bc02db19eeef593.zip
Continue in case of entry verification errors
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1949 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Toolset.py')
-rw-r--r--src/lib/Client/Toolset.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Client/Toolset.py b/src/lib/Client/Toolset.py
index c14bf4792..8c53fff3f 100644
--- a/src/lib/Client/Toolset.py
+++ b/src/lib/Client/Toolset.py
@@ -498,6 +498,9 @@ class Toolset(object):
self.VerifyPackage(child, modfiles)
else:
self.VerifyEntry(child)
+ if not self.states.has_key(child):
+ self.logger.error("Could not get state for entry %s: %s" % (child.tag, child.get('name')))
+ continue
if not self.states[child]:
self.logger.debug("Reinstalling clobbered entry %s %s" % (child.tag,
child.get('name')))