Commit d7468bd6 authored by Cédric Traizet's avatar Cédric Traizet

ENH: Deprecated cannot be an application section anymore

parent b43ef7a7
......@@ -413,13 +413,13 @@ def GenerateRstForApplications(rst_dir):
for appName in appNames:
# Get application first tag
tags = GetApplicationTags(appName)
tags = list(GetApplicationTags(appName))
if "Deprecated" in tags:
if not tags or len(tags) == 0:
raise RuntimeError("No tags for application: " + appName)
if "Deprecated" in tags:
tag = "Deprecated"
tag = tags[0]
tag = tags[0]
tag_ = tag.replace(" ", "_")
# Add it to the index (i.e.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment