Skip to content

Commit

Permalink
Handle outdated closed-groups.rdf
Browse files Browse the repository at this point in the history
Temporary until #47 gets done
  • Loading branch information
dontcallmedom committed Sep 3, 2015
1 parent 84dd684 commit d6a6075
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/extract-spec-data.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ def getType(x): return x.split('#')[1]
labels = closed_wgs.xpath("/rdf:RDF/*[c:homePage/@rdf:resource='%s']/o:name/text()" % url, namespaces=ns)
if len(labels) > 0:
wg["label"] = labels[0]
elif url == "http://www.w3.org/2012/sysapps/":
wg["label"] = "System Applications Working Group"
else:
sys.stderr.write("No group with home page %s found in public-groups.rdf nor closed-groups.rdf\n" % (url))
data[id]["wgs"].append(wg)
Expand Down

0 comments on commit d6a6075

Please sign in to comment.