Add TODO comment

This commit is contained in:
Matt Prahl
2016-11-10 14:13:38 -05:00
parent 02c245961b
commit fb043cd2c7

View File

@@ -291,6 +291,8 @@ def submit_module_build(username, url):
err_msgs = pool.map(lambda data: "Cannot checkout {}".format(data[0])
if not module_build_service.scm.SCM(data[1]).is_available()
else None, full_urls)
# TODO: only the first error message is raised, perhaps concatenate
# the messages together?
for err_msg in err_msgs:
if err_msg:
raise UnprocessableEntity(err_msg)