diff options
-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) |