summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Debian.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-01-07 22:06:36 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-01-07 22:06:36 +0000
commit83f7d67d12205d9aa0470a2c7727b6c210ef669e (patch)
tree810a3b6644d71c6f63a69a5e330b20eae9a1ea44 /src/lib/Client/Debian.py
parent7a91660f388ea882ed02c7dc7051ecb6facb59ea (diff)
downloadbcfg2-83f7d67d12205d9aa0470a2c7727b6c210ef669e.tar.gz
bcfg2-83f7d67d12205d9aa0470a2c7727b6c210ef669e.tar.bz2
bcfg2-83f7d67d12205d9aa0470a2c7727b6c210ef669e.zip
fix tb
(Logical change 1.179) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@773 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Debian.py')
-rw-r--r--src/lib/Client/Debian.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Debian.py b/src/lib/Client/Debian.py
index 4acade73f..b03c9c75b 100644
--- a/src/lib/Client/Debian.py
+++ b/src/lib/Client/Debian.py
@@ -225,7 +225,7 @@ class Debian(Toolset):
system('/etc/init.d/%s %s' % (svc.get('name'), svc.get('reload', 'reload')))
for entry in self.structures:
- if [strent for strent in entry.getchildren() if not self.states[strent]]:
+ if [strent for strent in entry.getchildren() if not self.states.get(strent, False)]:
self.CondPrint('verbose', "%s %s incomplete" % (entry.tag, entry.get('name', "")))
else:
self.structures[entry] = True