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")