more explicit function name
This commit is contained in:
parent
1790e0723c
commit
c700194ef3
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user