From 4f78d5eab46403692858d6ab07fd8d6a451f13a6 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Fri, 2 Feb 2007 22:13:37 +0000 Subject: Ensure that (pre) actions are not executed from Base git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2771 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Client/Frame.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/lib/Client/Frame.py b/src/lib/Client/Frame.py index b7715c4cd..a297ef389 100644 --- a/src/lib/Client/Frame.py +++ b/src/lib/Client/Frame.py @@ -165,6 +165,9 @@ class Frame: bundles = self.config.getchildren() gbundles = [] for bundle in bundles: + if bundle.tag != 'Bundle': + gbundles.append(bundle) + continue actions = [a for a in bundle.findall('./Action') \ if a.get('timing') != 'post'] # run all actions if modified or always -- cgit v1.2.3-1-g7c22