diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-09-10 11:22:55 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-09-10 11:22:55 +0000 |
commit | 0ad0afb0c17a8f833e21ffed6a0c81a3f213eed2 (patch) | |
tree | e960c11904ba1b479b64153711089c5e9e668375 /src | |
parent | cbf331efad0597d0843518ea4a685f27750cfeba (diff) | |
download | bcfg2-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.py | 4 |
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('/'): |