diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2009-06-20 18:31:23 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2009-06-20 18:31:23 +0000 |
commit | da539a752053757bec3d4740269300d8d2b2c74e (patch) | |
tree | 904e87b701f0b74db5f7bf7bb9ec6eb8d18c6307 /src | |
parent | 84a5da18e13ebb27bf235f6f143f3eb2c99fcf87 (diff) | |
download | bcfg2-da539a752053757bec3d4740269300d8d2b2c74e.tar.gz bcfg2-da539a752053757bec3d4740269300d8d2b2c74e.tar.bz2 bcfg2-da539a752053757bec3d4740269300d8d2b2c74e.zip |
Metadata: Fix traceback from imd updates
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5289 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Server/Plugins/Metadata.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py index 438d2eae6..a911e6fd3 100644 --- a/src/lib/Server/Plugins/Metadata.py +++ b/src/lib/Server/Plugins/Metadata.py @@ -416,13 +416,13 @@ class Metadata(Bcfg2.Server.Plugin.Plugin, nb, ng, _ = self.groups.get(group, (list(), [group], dict())) for b in nb: if b not in imd.bundles: - imd.bundles.append(b) + imd.bundles.add(b) for g in ng: if g not in imd.groups: if g in self.categories and \ self.categories[g] in imd.categories: continue - imd.groups.append(g) + imd.groups.add(g) def merge_additional_data(self, imd, source, data): if not hasattr(imd, source): |