From 2cc8bdd0899edd370b6839266be5beb581b52870 Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Fri, 29 Oct 2010 16:55:05 +0200 Subject: [PATCH] Makefile: Add PYTHON_BOOTSTRAP to linted code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: RenΓ© Nussbaumer <rn@google.com> --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 73e842bf7..396886800 100644 --- a/Makefile.am +++ b/Makefile.am @@ -504,7 +504,8 @@ lint_python_code = \ $(dist_sbin_SCRIPTS) \ $(dist_tools_SCRIPTS) \ $(pkglib_python_scripts) \ - $(BUILD_BASH_COMPLETION) + $(BUILD_BASH_COMPLETION) \ + $(PYTHON_BOOTSTRAP) test/daemon-util_unittest.bash: daemons/daemon-util @@ -672,7 +673,7 @@ $(PYTHON_BOOTSTRAP): Makefile | $(all_dirfiles) echo '# Temporarily alias commands until bash completion'; \ echo '# generator is changed'; \ echo 'if hasattr(main, "commands"):'; \ - echo ' commands = main.commands'; \ + echo ' commands = main.commands # pylint: disable-msg=E1101'; \ echo; \ echo 'if __name__ == "__main__":'; \ echo ' sys.exit(main.Main())'; \ -- GitLab