From f98fdba3d94e0598577e20a9477590904a1def30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Lind=C3=A9n?= Date: Fri, 10 Apr 2015 10:27:02 +0200 Subject: [PATCH] rename the check_hook function to set_check_hook in the AutoOption class to prevent name clash --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 6fba9c37..9856db5a 100644 --- a/wscript +++ b/wscript @@ -187,7 +187,7 @@ class AutoOption: var = program.upper().replace('-', '_') self.programs.append([program, var]) - def check_hook(self, check_hook, check_hook_error): + def set_check_hook(self, check_hook, check_hook_error): """ Add a check hook and a corresponding error printing function to the configure step. The check_hook argument is a function that should return