summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Frame.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-06-13 14:51:10 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-06-13 14:51:10 +0000
commit78a997d2c4826d651630aeed7c8d00895b5733de (patch)
tree2d2bfab25cf26bf5598e41398362bebb9cfd68f2 /src/lib/Client/Frame.py
parentea1933c469bdef124288010ec8992fbbf840cb83 (diff)
downloadbcfg2-78a997d2c4826d651630aeed7c8d00895b5733de.tar.gz
bcfg2-78a997d2c4826d651630aeed7c8d00895b5733de.tar.bz2
bcfg2-78a997d2c4826d651630aeed7c8d00895b5733de.zip
Disable handling of __important__ files in bundle and dryrun modes
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4695 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Frame.py')
-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 937882e91..24fbc52bf 100644
--- a/src/lib/Client/Frame.py
+++ b/src/lib/Client/Frame.py
@@ -77,7 +77,8 @@ class Frame:
self.logger.info("Loaded tool drivers:")
self.logger.info([tool.__name__ for tool in self.tools])
- if not self.dryrun:
+ if not self.dryrun and not self.setup['interactive'] and \
+ not self.setup['bundle']:
for cfile in [cfl for cfl in config.findall(".//ConfigFile") \
if cfl.get('name') in self.__important__]:
tl= [t for t in self.tools if t.handlesEntry(cfile) \