summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Server/Plugins/Pkgmgr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Pkgmgr.py b/src/lib/Server/Plugins/Pkgmgr.py
index 667664bf3..61b153b2e 100644
--- a/src/lib/Server/Plugins/Pkgmgr.py
+++ b/src/lib/Server/Plugins/Pkgmgr.py
@@ -110,7 +110,7 @@ class PNode(Bcfg2.Server.Plugin.INode):
if pkg.get('multiarch'):
self.contents['Package'][pkgname]['multiarch'] = pkg.get('multiarch')
if pkgname not in pdict['Package']:
- pdict['Package'].append(pkgname)
+ pdict['Package'].add(pkgname)
if pkg.getchildren():
self.contents['Package'][pkgname]['__children__'] = pkg.getchildren()
else: