summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2010-08-30 12:39:30 +0000
committerSol Jerome <sol.jerome@gmail.com>2010-08-30 10:57:33 -0500
commitafc68748a022ae304cdb0869789763e17d50e23e (patch)
tree9ceca5c00f5290426de897d3dbd005a0a6454557 /src/lib/Server/Plugins
parentfa61dbac647ea9cbc2ba3d93e7de73d7f8a7815f (diff)
downloadbcfg2-afc68748a022ae304cdb0869789763e17d50e23e.tar.gz
bcfg2-afc68748a022ae304cdb0869789763e17d50e23e.tar.bz2
bcfg2-afc68748a022ae304cdb0869789763e17d50e23e.zip
Packages: fix type conflict
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6043 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins')
-rw-r--r--src/lib/Server/Plugins/Packages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index d4498f790..5136d5055 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -334,7 +334,7 @@ class YUMSource(Source):
def get_vpkgs(self, metadata):
rv = Source.get_vpkgs(self, metadata)
for arch, fmdata in self.filemap.iteritems():
- if arch not in metadata.groups + ['global']:
+ if arch not in metadata.groups + set(['global']):
continue
for filename, pkgs in fmdata.iteritems():
rv[filename] = pkgs