In all_id2.txt, set the WG field as empty for AD-sponsored documents which have group set to an area. Fixes a problem with draft alias generation.

- Legacy-Id: 4066
This commit is contained in:
Henrik Levkowetz 2012-03-07 10:36:39 +00:00
parent 794bbad413
commit 0e8ab0dbfd

View file

@ -89,7 +89,7 @@ def all_id2_entry(id):
# 6
fields.append(id.revision_date)
# 7
group_acronym = id.group.acronym
group_acronym = "" if id.group.type_id == "area" else id.group.acronym
if group_acronym == "none":
group_acronym = ""
fields.append(group_acronym)