Files
cloud-init/cloud-init-lint-set-interpreter.patch
Robert Schweikert 45e0874bb7 - Update to version 25.1.1 (bsc#1239715,jsc#PED-8680,bsc#1228414)
+ Removed included upstream
   - pep-594-drop-pipes.patch
   - cloud-init-fix-python313.patch
   - cloud-init-dont-assume-ordering-of-ThreadPoolExecutor.patch
   - cloud-init-direxist.patch
   - cloud-init-wait-for-net.patch
   - cloud-init-usr-sudoers.patch
   - cloud-init-no-nmcfg-needed.patch
   - cloud-init-keep-flake.patch
   - cloud-init-lint-fixes.patch
   - cloud-init-pckg-reboot.patch
   - cloud-init-ds-deterministic.patch
   - cloud-init-write-routes.patch
   - cloud-init-skip-empty-conf.patch
 + Forward port
   - cloud-init-no-tempnet-oci.patch
   - cloud-init-no-openstack-guess.patch
   - cloud-init-lint-set-interpreter.patch
 + Add
   - cloud-init-ssh-usrmerge.patch (bsc#1237764)
   - cloud-init-lint-set-interpreter.patch
   - cloud-init-lint-fix.patch
   - cloud-init-no-single-process.patch
   - cloud-init-needs-action.patch
 + Drop hidesensitivedata in 16 & greater
 + test: pytestify cc_chef tests, add migration test
 + chef: migrate files in old config directories for backups and cache
 + fix: correct the path for Chef's backups (#5994)
 + fix(Azure): don't reraise FileNotFoundError during ephemeral setup (#6113)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=245
2025-05-15 18:10:38 +00:00

15 lines
289 B
Diff

--- tools/run-lint.orig
+++ tools/run-lint
@@ -13,7 +13,10 @@ else
files=( "$@" )
fi
-cmd=( "python3" -m "flake8" "${files[@]}" )
+if [ -z "$PYTHON" ]; then
+ PYTHON="python3"
+fi
+cmd=( "$PYTHON" -m "flake8" "${files[@]}" )
echo "Running: " "${cmd[@]}" 1>&2
exec "${cmd[@]}"