diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-07-14 19:31:49 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-07-14 19:31:49 +0000 |
commit | 1d6ff8880ff5f27e1982d19f3bc02db19eeef593 (patch) | |
tree | 1d2098ee1230b009f06bc3a5f5946dda2ed12a8f /src/lib/Client | |
parent | 658ab0be8a6bada78a242b48f90dacf051143983 (diff) | |
download | bcfg2-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')
-rw-r--r-- | src/lib/Client/Toolset.py | 3 |
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'))) |