summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 5136d5055..5371e5bbe 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 + set(['global']):
+ if arch not in metadata.groups and arch != 'global':
continue
for filename, pkgs in fmdata.iteritems():
rv[filename] = pkgs