From 0d463a379429bf704461689f85fcb7f08ad2a913 Mon Sep 17 00:00:00 2001 From: Moul Date: Mon, 1 Feb 2016 23:31:33 +0100 Subject: [PATCH] Add more explicit warn when manifest parsing fail. --- package_checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_checker.py b/package_checker.py index 432e23c..38d6ee7 100755 --- a/package_checker.py +++ b/package_checker.py @@ -56,7 +56,7 @@ def check_manifest(manifest): with open(manifest, encoding='utf-8') as data_file: manifest = json.loads(data_file.read()) print_right("Manifest syntax is good.") - except: print_wrong("There is a syntax (comma) issue in manifest.json. Can't do following tests."); return + except: print_wrong("There is a syntax (comma) issue in manifest.json. Can't check manifest."); return i, fields = 0, ("name", "id", "description", "url", "license", \ "maintainer", "multi_instance", "services", "arguments") while (i < len(fields)):