From: Tony Mack Date: Thu, 30 Jun 2011 19:27:23 +0000 (-0400) Subject: node tag value should go in the text field X-Git-Tag: sfa-1.0-27~44 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=a63ac0e8fdb80b6acf5639ca95a2ab181b430d9a;p=sfa.git node tag value should go in the text field --- diff --git a/sfa/rspecs/sfa_rspec.py b/sfa/rspecs/sfa_rspec.py index 19622358..5eb34ed7 100755 --- a/sfa/rspecs/sfa_rspec.py +++ b/sfa/rspecs/sfa_rspec.py @@ -227,7 +227,7 @@ class SfaRSpec(RSpec): for tag in node['tags']: # expose this hard wired list of tags, plus the ones that are marked 'sfa' in their category if tag['tagname'] in ['fcdistro', 'arch'] or 'sfa' in tag['category'].split('/'): - tag_element = etree.SubElement(node_tag, tag['tagname'], value=tag['value']) + tag_element = etree.SubElement(node_tag, tag['tagname']).text=tag['value'] if 'site' in node: longitude = str(node['site']['longitude'])