diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-08-07 20:12:41 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-08-07 20:12:41 +0000 |
commit | 3e75047357130d47da1fd8441bd902b09ae26c0b (patch) | |
tree | 5f9dfb780bf9ca1ae724b4478df7fc317e68e8c0 | |
parent | 3059c23452710c1702b1fd638ca22b25751a828f (diff) | |
download | bcfg2-3e75047357130d47da1fd8441bd902b09ae26c0b.tar.gz bcfg2-3e75047357130d47da1fd8441bd902b09ae26c0b.tar.bz2 bcfg2-3e75047357130d47da1fd8441bd902b09ae26c0b.zip |
Fix :info file creation in bcfg2-admin pull
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4867 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 5f3f1688b..5dcf51d05 100644 --- a/src/lib/Server/Plugins/Cfg.py +++ b/src/lib/Server/Plugins/Cfg.py @@ -112,7 +112,7 @@ class CfgEntrySet(Bcfg2.Server.Plugin.EntrySet): metadata_updates = {} metadata_updates.update(self.metadata) for attr in badattr: - metadata_updates[attr] = new_entry.get('attr') + metadata_updates[attr] = new_entry.get(attr) infofile = open(self.path + '/:info', 'w') for x in metadata_updates.iteritems(): infofile.write("%s: %s\n" % x) |