Match path on disk to projects.yaml keys

Ensure that we translate '_' characters to ' ' for matchin the keys in
projects.yaml

Change-Id: Ibfe24e2cdadc773fb69bdd4dd52df2bc0de6cb27
This commit is contained in:
Tony Breeds 2016-03-11 12:52:03 +11:00
parent f894edb16d
commit 912a9424eb

View File

@ -39,6 +39,7 @@ except:
print "usage: %s candidacy_file" % sys.argv[0] print "usage: %s candidacy_file" % sys.argv[0]
exit(1) exit(1)
project_name = project_name.replace('_', ' ')
author = escape_author(author) author = escape_author(author)
if not os.path.isfile('.projects.yaml'): if not os.path.isfile('.projects.yaml'):