Skip to content
Snippets Groups Projects
Commit 2cc8bdd0 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Makefile: Add PYTHON_BOOTSTRAP to linted code


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 98028e5d
No related branches found
No related tags found
No related merge requests found
...@@ -504,7 +504,8 @@ lint_python_code = \ ...@@ -504,7 +504,8 @@ lint_python_code = \
$(dist_sbin_SCRIPTS) \ $(dist_sbin_SCRIPTS) \
$(dist_tools_SCRIPTS) \ $(dist_tools_SCRIPTS) \
$(pkglib_python_scripts) \ $(pkglib_python_scripts) \
$(BUILD_BASH_COMPLETION) $(BUILD_BASH_COMPLETION) \
$(PYTHON_BOOTSTRAP)
test/daemon-util_unittest.bash: daemons/daemon-util test/daemon-util_unittest.bash: daemons/daemon-util
...@@ -672,7 +673,7 @@ $(PYTHON_BOOTSTRAP): Makefile | $(all_dirfiles) ...@@ -672,7 +673,7 @@ $(PYTHON_BOOTSTRAP): Makefile | $(all_dirfiles)
echo '# Temporarily alias commands until bash completion'; \ echo '# Temporarily alias commands until bash completion'; \
echo '# generator is changed'; \ echo '# generator is changed'; \
echo 'if hasattr(main, "commands"):'; \ echo 'if hasattr(main, "commands"):'; \
echo ' commands = main.commands'; \ echo ' commands = main.commands # pylint: disable-msg=E1101'; \
echo; \ echo; \
echo 'if __name__ == "__main__":'; \ echo 'if __name__ == "__main__":'; \
echo ' sys.exit(main.Main())'; \ echo ' sys.exit(main.Main())'; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment