From 20a280e2d22a5640cffe20137d3af469db18902b Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 7 Feb 2019 15:47:38 +0100 Subject: [PATCH] print_wrong -> print_error --- package_linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index 20333ee..699638a 100755 --- a/package_linter.py +++ b/package_linter.py @@ -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)))