diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-10-28 03:02:33 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-10-28 03:02:33 +0000 |
commit | abf79b249aab9e343f51dea9c9f6b2ec0676060b (patch) | |
tree | 4ce04be771d888583916010fb71cca0e9fb0cfd9 /src/lib/Server/Plugins/Pkgmgr.py | |
parent | 6fced133317e0fc0a15765d995747d600f85484a (diff) | |
download | bcfg2-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.py | 2 |
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: |