diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-11-12 16:01:13 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-11-12 16:01:13 +0000 |
commit | d8576d9c219c7124d469af5b22944c69c14a69b5 (patch) | |
tree | 6bb83ad36e8a3acab458fb98fd83c37fd72fa7c7 | |
parent | 23b90cb65ccdd60c1fe49ea8c8a9f17ea7d0036e (diff) | |
download | bcfg2-d8576d9c219c7124d469af5b22944c69c14a69b5.tar.gz bcfg2-d8576d9c219c7124d469af5b22944c69c14a69b5.tar.bz2 bcfg2-d8576d9c219c7124d469af5b22944c69c14a69b5.zip |
Fix traceback issue which would cause 0-length files
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2489 ce84e21b-d406-0410-9b95-82705330c041
-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 354fbd89e..03b521abe 100644 --- a/src/lib/Server/Plugins/Cfg.py +++ b/src/lib/Server/Plugins/Cfg.py @@ -146,7 +146,7 @@ class ConfigFileEntry(object): elif len(entries) > 1: logger.error("Matched multiple entries for spec %s" % (event.filename)) logger.error("Entry filenames are:") - logger.error([entry.get('name') for entry in entries]) + logger.error([entry.name for entry in entries]) if action == 'deleted': logger.info("Removing entry %s" % event.filename) |