Skip to content

Commit d70a160

Browse files
committed
Summary: Split charter names with acronyms containing hyphen correctly
- Legacy-Id: 10139
1 parent ec54a59 commit d70a160

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/utils_charter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def charter_name_for_group(group):
2222
return "charter-%s-%s" % (top_org, group.acronym)
2323

2424
def split_charter_name(charter_name):
25-
top_org, group_acronym = charter_name.split("-")[1:]
25+
top_org, group_acronym = charter_name.split("-", 2)[1:]
2626
return top_org, group_acronym
2727

2828
def next_revision(rev):

0 commit comments

Comments
 (0)