Merge "Expand the valid characters in chair names"

This commit is contained in:
Jenkins 2016-10-04 00:26:02 +00:00 committed by Gerrit Code Review
commit 48c894e03b

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])