diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-02-06 15:41:33 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-02-06 15:41:33 +0000 |
commit | a2e93cca6c87142ad777e4e4d46cbdd01f0f4bd9 (patch) | |
tree | 8069852b4b22225044d317ee4dec7b7843efb5b8 /src | |
parent | abc42459e4e7cb048500b528386fc3005809c91a (diff) | |
download | bcfg2-a2e93cca6c87142ad777e4e4d46cbdd01f0f4bd9.tar.gz bcfg2-a2e93cca6c87142ad777e4e4d46cbdd01f0f4bd9.tar.bz2 bcfg2-a2e93cca6c87142ad777e4e4d46cbdd01f0f4bd9.zip |
Fix :info files
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2786 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Server/Plugins/Cfg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Cfg.py b/src/lib/Server/Plugins/Cfg.py index 5d0ebb2ac..26db3fb9c 100644 --- a/src/lib/Server/Plugins/Cfg.py +++ b/src/lib/Server/Plugins/Cfg.py @@ -114,7 +114,7 @@ class ConfigFileEntry(object): '''add new file additions for a single cf file''' basename = name.split('/')[-1] rbasename = self.repopath.split('/')[-1] - if not ((basename not in [':info', 'info']) or + if not ((basename in [':info', 'info']) or (basename[:len(rbasename)] == rbasename)): logger.error("Confused about file %s; ignoring" % (name)) return |