summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugins/Metadata.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py
index f63e2d558..860bb78d2 100644
--- a/src/lib/Server/Plugins/Metadata.py
+++ b/src/lib/Server/Plugins/Metadata.py
@@ -367,6 +367,7 @@ class Metadata(Bcfg2.Server.Plugin.Plugin,
self.logger.error("Cannot set group for client %s; no default group set" % (client))
raise MetadataConsistencyError
self.set_profile(client, self.default, (None, None))
+ profile = self.default
[bundles, groups, categories] = self.groups[self.default]
newgroups = groups[:]
newbundles = bundles[:]