initial checkin
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Sat, 5 Nov 2011 02:22:32 +0000 (22:22 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Sat, 5 Nov 2011 02:22:32 +0000 (22:22 -0400)
sfa/rspecs/elements/versions/sfav1Node.py

index e26ce79..a4be2c4 100644 (file)
@@ -68,8 +68,8 @@ class SFAv1Node:
             if 'tags' in node:
                 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_elem, tag['tagname']).text=tag['value']
+                   if tag['name'] in ['fcdistro', 'arch']:
+                        tag_element = etree.SubElement(node_elem, tag['name']).text=tag['value']
 
             if 'slivers' in node:
                 for sliver in node['slivers']: