Expand the valid characters in chair names

Since Ken'ichi took over as the QA chair tools/check_chair.py has been
issuing:

qa-team-meeting.yaml
	Ken'ichi Ohmichi (oomichi): Needs Fixing

Which hasn't been failing (see follow-up change).  This review adds ' as
a valid character in a meeting chair's name.

Change-Id: I767370629841cbce9f43385a8ab6a8861feb48ac
This commit is contained in:
Tony Breeds 2016-09-30 13:16:09 +10:00
parent 9e7af5411f
commit ad479a601c
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ def check_chair(chair):
msg = ''
for chair in chairs:
chair = chair.rstrip().lstrip()
ok = bool(re.match(r'^[\w .-]+\([\w\d_-]+\)$', chair))
ok = bool(re.match(r"^[\w '.-]+\([\w\d_-]+\)$", chair))
all_good &= ok
msg += "\t%s: %s\n" % (chair, BOOL_STR[ok])