From cc569e73f3abab2476bba505497cf610323994b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 4 Mar 2026 12:36:33 +0100 Subject: [PATCH] Use python3 in shebang (grafted from cc8ffd818eb743822ca9014abe4f6cc2f1af5596) --HG-- branch : 6.0 --- .gitlab-scripts/generate-ci.py | 2 +- .hooks/link_modules | 2 +- .hooks/update_requirements | 2 +- modules/country/scripts/import_postal_codes.py | 2 +- .../purchase_shipment_cost/tests/test_purchase_shipment_cost.py | 1 - 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitlab-scripts/generate-ci.py b/.gitlab-scripts/generate-ci.py index 7b0ac78d73..e31d8d70fc 100755 --- a/.gitlab-scripts/generate-ci.py +++ b/.gitlab-scripts/generate-ci.py @@ -1,4 +1,4 @@ -#!/bin/env python +#!/bin/env python3 import glob import os import sys diff --git a/.hooks/link_modules b/.hooks/link_modules index c7c469f1ae..4d68d697ea 100755 --- a/.hooks/link_modules +++ b/.hooks/link_modules @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. diff --git a/.hooks/update_requirements b/.hooks/update_requirements index b197414e77..4f9940fb23 100755 --- a/.hooks/update_requirements +++ b/.hooks/update_requirements @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. diff --git a/modules/country/scripts/import_postal_codes.py b/modules/country/scripts/import_postal_codes.py index 160aed51fd..0f3837d9b8 100755 --- a/modules/country/scripts/import_postal_codes.py +++ b/modules/country/scripts/import_postal_codes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. from __future__ import print_function diff --git a/modules/purchase_shipment_cost/tests/test_purchase_shipment_cost.py b/modules/purchase_shipment_cost/tests/test_purchase_shipment_cost.py index 0ade05bf3d..3495e5f12f 100644 --- a/modules/purchase_shipment_cost/tests/test_purchase_shipment_cost.py +++ b/modules/purchase_shipment_cost/tests/test_purchase_shipment_cost.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. import unittest