summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Server/Plugins/Packages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index c8579988c..5a09dae4b 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -20,8 +20,8 @@ def source_from_xml(xsource):
ret['version'] = xsource.find('Version').text
except:
ret['version'] = 'placeholder'
- if ret['component'] == []:
- ret['component'] = ['placeholder']
+ if ret['components'] == []:
+ ret['components'] = ['placeholder']
if xsource.find('RawURL') is not None:
ret['rawurl'] = xsource.find('RawURL').text
if not ret['rawurl'].endswith('/'):