Commit 2cc8bdd0 authored by Michael Hanselmann's avatar Michael Hanselmann

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
......@@ -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())'; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment