summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Pkgmgr.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-10-28 03:02:33 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-10-28 03:02:33 +0000
commitabf79b249aab9e343f51dea9c9f6b2ec0676060b (patch)
tree4ce04be771d888583916010fb71cca0e9fb0cfd9 /src/lib/Server/Plugins/Pkgmgr.py
parent6fced133317e0fc0a15765d995747d600f85484a (diff)
downloadbcfg2-abf79b249aab9e343f51dea9c9f6b2ec0676060b.tar.gz
bcfg2-abf79b249aab9e343f51dea9c9f6b2ec0676060b.tar.bz2
bcfg2-abf79b249aab9e343f51dea9c9f6b2ec0676060b.zip
Fix Package entries for new set infrastructure (Resolves PDS's issue reported in irc)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4953 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Pkgmgr.py')
-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: