From c700194ef378b02fb564bfad192fc34184fe54a3 Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Mon, 12 Oct 2015 17:25:31 +0200 Subject: [PATCH] more explicit function name --- update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update.py b/update.py index 9cb110b..739e8aa 100644 --- a/update.py +++ b/update.py @@ -182,10 +182,10 @@ def gen_setup(config, relative_path, setup_script_name): s.append(" sys.stderr.write(options)") s.append(" sys.exit(-1)") s.append("\n") - s.append("# we run the arguments through the validate function if it exists") + s.append("# we run the arguments through the validate_setup_args function if it exists") s.append("if config.module_exists('validate'):") s.append(" import validate") - s.append(" arguments = validate.validate(sys.argv, arguments)") + s.append(" arguments = validate.validate_setup_args(sys.argv, arguments)") s.append("\n") s.append("root_directory = os.path.dirname(os.path.realpath(__file__))") s.append("\n")