diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-06-13 14:51:10 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-06-13 14:51:10 +0000 |
commit | 78a997d2c4826d651630aeed7c8d00895b5733de (patch) | |
tree | 2d2bfab25cf26bf5598e41398362bebb9cfd68f2 /src/lib/Client | |
parent | ea1933c469bdef124288010ec8992fbbf840cb83 (diff) | |
download | bcfg2-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')
-rw-r--r-- | src/lib/Client/Frame.py | 3 |
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) \ |