print_wrong -> print_error

This commit is contained in:
Alexandre Aubin 2019-02-07 15:47:38 +01:00 committed by GitHub
parent 910a3b2006
commit 20a280e2d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -236,7 +236,7 @@ def check_manifest(path):
for argument in manifest["arguments"]["install"]:
if not "type" in argument.keys():
print_wrong("[YEP-2.1] You should specify the type of the argument '%s'. You can use : %s." % (argument["name"], ', '.join(recognized_types)))
print_error("[YEP-2.1] You should specify the type of the argument '%s'. You can use : %s." % (argument["name"], ', '.join(recognized_types)))
elif argument["type"] not in recognized_types:
print_warning("[YEP-2.1] The type '%s' for argument '%s' is not recognized... it probably doesn't behave as you expect ? Choose among those instead : %s" % (argument["type"], argument["name"], ', '.join(recognized_types)))