summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-09-10 11:22:55 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-09-10 11:22:55 +0000
commit0ad0afb0c17a8f833e21ffed6a0c81a3f213eed2 (patch)
treee960c11904ba1b479b64153711089c5e9e668375 /src
parentcbf331efad0597d0843518ea4a685f27750cfeba (diff)
downloadbcfg2-0ad0afb0c17a8f833e21ffed6a0c81a3f213eed2.tar.gz
bcfg2-0ad0afb0c17a8f833e21ffed6a0c81a3f213eed2.tar.bz2
bcfg2-0ad0afb0c17a8f833e21ffed6a0c81a3f213eed2.zip
Packages: fix typo (Resolves Ticket #726)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5426 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-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('/'):