summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/__init__.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-11-03 16:04:46 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-11-03 16:04:46 +0000
commit87bace51324bed0fe1d619c4da67ede9266a72dc (patch)
treedc6f1a778e4008a40082b52b7a647a992e7b9beb /src/lib/Client/Tools/__init__.py
parent5008f184fa10494a3672fde4525230c5450188de (diff)
downloadbcfg2-87bace51324bed0fe1d619c4da67ede9266a72dc.tar.gz
bcfg2-87bace51324bed0fe1d619c4da67ede9266a72dc.tar.bz2
bcfg2-87bace51324bed0fe1d619c4da67ede9266a72dc.zip
Fix error in state handling (Resolves Ticket #479)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3908 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Tools/__init__.py')
-rw-r--r--src/lib/Client/Tools/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/__init__.py b/src/lib/Client/Tools/__init__.py
index 28c9600d9..ed8649082 100644
--- a/src/lib/Client/Tools/__init__.py
+++ b/src/lib/Client/Tools/__init__.py
@@ -245,6 +245,7 @@ class PkgTool(Tool):
self.states[pkg] = True
else:
self.logger.error("Failed to install package %s" % (pkg.get('name')))
+ self.RefreshPackages()
for entry in [ent for ent in packages if self.states[ent]]:
self.modified.append(entry)