summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-10-24 18:34:18 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-10-24 18:34:18 +0000
commit0eda10533870439315c9a749389a381558299eec (patch)
tree4b3a5ee97f360044a4a2d2cbef056c96fe132e7f /src/lib
parent3dcbed4f68ec9f6be961ad23d6fc7c81c7009092 (diff)
downloadbcfg2-0eda10533870439315c9a749389a381558299eec.tar.gz
bcfg2-0eda10533870439315c9a749389a381558299eec.tar.bz2
bcfg2-0eda10533870439315c9a749389a381558299eec.zip
Actions: Fix bundle filtering of actions (Resolves Ticket #766)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5499 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Frame.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Client/Frame.py b/src/lib/Client/Frame.py
index 86d10cc5f..b9fabc0ab 100644
--- a/src/lib/Client/Frame.py
+++ b/src/lib/Client/Frame.py
@@ -301,7 +301,8 @@ class Frame:
self.DispatchInstallCalls(clobbered)
for bundle in self.config.findall('.//Bundle'):
- if self.setup['bundle'] and bundle not in self.setup['bundle']:
+ if self.setup['bundle'] and \
+ bundle.get('name') not in self.setup['bundle']:
# prune out unspecified bundles when running with -b
continue
for tool in self.tools: