From c9512b10fb7dd0e5fc68ea804915784d793a0a55 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Tue, 19 Sep 2017 21:13:37 -0400 Subject: Accept a - in release This occurs with "snapshot:branch-name" syntax. --- src/configs/sphinx/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/configs/sphinx/conf.py b/src/configs/sphinx/conf.py index 67f4a5678..05888e064 100644 --- a/src/configs/sphinx/conf.py +++ b/src/configs/sphinx/conf.py @@ -17,7 +17,7 @@ def check_for_tag(tag): def parse_version_file(version_path): version_file = open(version_path) - key_and_val = re.compile(r"([a-z_]+) = ([a-zA-Z0-9:\']+)") + key_and_val = re.compile(r"([a-z_]+) = ([a-zA-Z0-9:\-\']+)") results = {} for line in version_file.readlines(): -- cgit v1.2.3