From b5d7b08addeb7795720acf3debd88a13ddd30402 Mon Sep 17 00:00:00 2001 From: Mark Asselstine <mark.asselstine@windriver.com> Date: Thu, 11 May 2023 17:05:54 +0800 Subject: [PATCH] python3: ensure py scripts use py3 for shebang Upstream-Status: Pending Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Rebase to 2.24.5 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> --- .azure-pipelines/scripts/combine-coverage.py | 2 +- .azure-pipelines/scripts/publish-codecov.py | 2 +- .azure-pipelines/scripts/time-command.py | 2 +- docs/bin/find-plugin-refs.py | 2 +- docs/docsite/rst/dev_guide/testing/sanity/shebang.rst | 2 +- docs/docsite/rst/inventory_guide/connection_details.rst | 4 ++-- docs/docsite/rst/locales/ja/LC_MESSAGES/dev_guide.po | 4 ++-- examples/scripts/uptime.py | 2 +- hacking/ansible-profile | 2 +- hacking/azp/download.py | 2 +- hacking/azp/get_recent_coverage_runs.py | 2 +- hacking/azp/incidental.py | 2 +- hacking/azp/run.py | 2 +- hacking/backport/backport_of_line_adder.py | 2 +- hacking/build-ansible.py | 2 +- hacking/create_deprecation_bug_reports.py | 2 +- hacking/fix_test_syntax.py | 2 +- hacking/get_library.py | 2 +- hacking/report.py | 2 +- hacking/return_skeleton_generator.py | 2 +- hacking/test-module.py | 2 +- hacking/tests/gen_distribution_version_testcase.py | 2 +- hacking/update-sanity-requirements.py | 2 +- lib/ansible/cli/adhoc.py | 2 +- lib/ansible/cli/config.py | 2 +- lib/ansible/cli/console.py | 2 +- lib/ansible/cli/doc.py | 2 +- lib/ansible/cli/galaxy.py | 2 +- lib/ansible/cli/inventory.py | 2 +- lib/ansible/cli/playbook.py | 2 +- lib/ansible/cli/pull.py | 2 +- lib/ansible/cli/scripts/ansible_connection_cli_stub.py | 2 +- lib/ansible/cli/vault.py | 2 +- packaging/release.py | 2 +- packaging/sdist/check-link-behavior.py | 2 +- .../targets/ansible-galaxy-collection/files/build_bad_tar.py | 2 +- test/integration/targets/ansible-test-container/runme.py | 2 +- .../targets/ansible-test-integration-targets/test.py | 2 +- .../ansible_collections/ns/col/run-with-pty.py | 2 +- .../ns/col/tests/integration/targets/no-tty/assert-no-tty.py | 2 +- .../ansible_collections/ns/col/scripts/env_python.py | 2 +- .../ns/col/tests/integration/targets/valid/env_python.py | 2 +- test/integration/targets/ansible-test/venv-python/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _CRYPTO_MD5_H #define _CRYPTO_MD5_H #include <linux/types.h> #define MD5_DIGEST_SIZE 16 #define MD5_HMAC_BLOCK_SIZE 64 #define MD5_BLOCK_WORDS 16 #define MD5_HASH_WORDS 4 #define MD5_H0 0x67452301UL #define MD5_H1 0xefcdab89UL #define MD5_H2 0x98badcfeUL #define MD5_H3 0x10325476UL extern const u8 md5_zero_message_hash[MD5_DIGEST_SIZE]; struct md5_state { u32 hash[MD5_HASH_WORDS]; u32 block[MD5_BLOCK_WORDS]; u64 byte_count; }; #endif
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _CRYPTO_MD5_H #define _CRYPTO_MD5_H #include <linux/types.h> #define MD5_DIGEST_SIZE 16 #define MD5_HMAC_BLOCK_SIZE 64 #define MD5_BLOCK_WORDS 16 #define MD5_HASH_WORDS 4 #define MD5_H0 0x67452301UL #define MD5_H1 0xefcdab89UL #define MD5_H2 0x98badcfeUL #define MD5_H3 0x10325476UL extern const u8 md5_zero_message_hash[MD5_DIGEST_SIZE]; struct md5_state { u32 hash[MD5_HASH_WORDS]; u32 block[MD5_BLOCK_WORDS]; u64 byte_count; }; #endif