summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2010-04-16 15:29:15 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-04-17 16:21:44 -0500
commit665456d89a54c6b5ec3f534a3ce1105df9a3b6e4 (patch)
tree57322019c45b3d1b20e1f8b7a14324b06d82f09a /src/lib/Server/Plugins
parent0f9e5d0e3da14218664db0d6b71cfc854313dd88 (diff)
downloadbcfg2-665456d89a54c6b5ec3f534a3ce1105df9a3b6e4.tar.gz
bcfg2-665456d89a54c6b5ec3f534a3ce1105df9a3b6e4.tar.bz2
bcfg2-665456d89a54c6b5ec3f534a3ce1105df9a3b6e4.zip
Packages: fix up config file reading
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5827 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins')
-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 1621451c3..8171785b1 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -34,7 +34,7 @@ def source_from_xml(xsource):
if ret['components'] == []:
ret['components'] = ['placeholder']
try:
- if xsource.find('Recommended').text is not None:
+ if xsource.find('Recommended').text == 'true':
ret['recommended'] = True
except:
ret['recommended'] = False