check_consistent: allow dots in module names (#5472)

This commit is contained in:
Sebastian Rittau
2021-05-16 20:01:00 +02:00
committed by GitHub
parent 6a9c89e928
commit 35acd2ad6f
2 changed files with 20 additions and 12 deletions

View File

@@ -71,7 +71,7 @@ def match(fn, args, exclude_list):
return True
_VERSION_LINE_RE = re.compile(r"^([a-zA-Z_][a-zA-Z0-9_]*): ([23]\.\d{1,2})-([23]\.\d{1,2})?$")
_VERSION_LINE_RE = re.compile(r"^([a-zA-Z_][a-zA-Z0-9_.]*): ([23]\.\d{1,2})-([23]\.\d{1,2})?$")
def parse_versions(fname):