mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-03 10:48:03 +08:00
Merge #768 Clean up error message in get_module_yaml
This commit is contained in:
@@ -249,9 +249,9 @@ class SCM(object):
|
||||
with open(path_to_yaml):
|
||||
return path_to_yaml
|
||||
except IOError:
|
||||
raise UnprocessableEntity(
|
||||
"get_module_yaml: SCM repository doesn't seem to contain a "
|
||||
"module YAML file. Couldn't access: %s" % path_to_yaml)
|
||||
log.error("get_module_yaml: The SCM repository doesn't contain a modulemd file. "
|
||||
"Couldn't access: %s" % path_to_yaml)
|
||||
raise UnprocessableEntity("The SCM repository doesn't contain a modulemd file")
|
||||
|
||||
@staticmethod
|
||||
def is_full_commit_hash(scheme, commit):
|
||||
|
||||
Reference in New Issue
Block a user