summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Pkgmgr.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Plugins/Pkgmgr.py')
-rw-r--r--src/lib/Server/Plugins/Pkgmgr.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Pkgmgr.py b/src/lib/Server/Plugins/Pkgmgr.py
index fe03e184b..8521994e0 100644
--- a/src/lib/Server/Plugins/Pkgmgr.py
+++ b/src/lib/Server/Plugins/Pkgmgr.py
@@ -41,6 +41,7 @@ class PackageEntry(XMLFileBacked):
pkgname = mdata.group('name')
self.packages[pkgname] = mdata.groupdict()
self.packages[pkgname]['url'] = location.get('uri') + '/' + pkg.get('file')
+ self.packages[pkgname]['type'] = pkg.get('type')
else:
derived = [(ptype, self.splitters[ptype].match(pkg.get('file')).groupdict())
for ptype in self.splitters if self.splitters[ptype].match(pkg.get('file'))]