From 89e998412fe07a01f9c79330973f62d909dc2da2 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Sat, 14 Apr 2012 08:16:20 +0300 Subject: waf: samba-specific methods should have capitalized names, change process_separate_rule to follow Changing process_separate_rule to PROCESS_SEPARATE_RULE. Thanks Thomas Nagy for review. Autobuild-User: Alexander Bokovoy Autobuild-Date: Sat Apr 14 08:55:43 CEST 2012 on sn-devel-104 --- buildtools/wafsamba/samba_utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'buildtools') diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py index bdf96fef88..477e0b41db 100644 --- a/buildtools/wafsamba/samba_utils.py +++ b/buildtools/wafsamba/samba_utils.py @@ -626,7 +626,7 @@ def get_tgt_list(bld): return tgt_list from Constants import WSCRIPT_FILE -def process_separate_rule(self, rule): +def PROCESS_SEPARATE_RULE(self, rule): ''' cause waf to process additional script based on `rule'. You should have file named wscript__rule in the current directory where stage is either 'configure' or 'build' @@ -645,5 +645,5 @@ def process_separate_rule(self, rule): dc = self.pre_recurse(txt, file_path, []) exec(compile(txt, file_path, 'exec'), dc) -Build.BuildContext.process_separate_rule = process_separate_rule -ConfigurationContext.process_separate_rule = process_separate_rule +Build.BuildContext.PROCESS_SEPARATE_RULE = PROCESS_SEPARATE_RULE +ConfigurationContext.PROCESS_SEPARATE_RULE = PROCESS_SEPARATE_RULE -- cgit