From 79b4e2a30a8eae522240d46effebcd86e07584b1 Mon Sep 17 00:00:00 2001 From: Moul Date: Sun, 31 Jan 2016 14:27:07 +0100 Subject: [PATCH] Rename function. --- package_checker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package_checker.py b/package_checker.py index c695ae7..c6f2c1b 100755 --- a/package_checker.py +++ b/package_checker.py @@ -96,7 +96,7 @@ def check_manifest(manifest): j+=1 i+=1 -def check_scripts(path, script_name): +def check_script(path, script_name): script_path = path + "/scripts/" + script_name if check_file_exist(script_path) == 0: return print (c.BOLD + c.HEADER + "\n>>>>", scripts[i].upper(), "SCRIPT <<<<" + c.END); @@ -162,7 +162,7 @@ if __name__ == '__main__': check_manifest(app_path + "/manifest.json") i, scripts = 0, ("install", "remove", "upgrade", "backup", "restore") while i < len(scripts): - check_scripts(app_path, scripts[i]) + check_script(app_path, scripts[i]) i+=1 """