summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-02-06 15:41:33 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-02-06 15:41:33 +0000
commita2e93cca6c87142ad777e4e4d46cbdd01f0f4bd9 (patch)
tree8069852b4b22225044d317ee4dec7b7843efb5b8 /src
parentabc42459e4e7cb048500b528386fc3005809c91a (diff)
downloadbcfg2-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.py2
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