contrib/automation/hgautomation/linux.py
changeset 48843 d953a42b157d
parent 47202 0de5eefbe4b2
child 48845 5c8148cd7f13
--- a/contrib/automation/hgautomation/linux.py	Thu Mar 03 07:53:11 2022 +0100
+++ b/contrib/automation/hgautomation/linux.py	Sat Feb 19 18:04:49 2022 -0700
@@ -532,7 +532,7 @@
         hg_bin = source_path / 'hg'
 
         res = subprocess.run(
-            ['python2.7', str(hg_bin), 'log', '-r', revision, '-T', '{node}'],
+            ['python3', str(hg_bin), 'log', '-r', revision, '-T', '{node}'],
             cwd=str(source_path),
             env=env,
             check=True,
@@ -542,7 +542,7 @@
         full_revision = res.stdout.decode('ascii')
 
         args = [
-            'python2.7',
+            'python3',
             str(hg_bin),
             '--config',
             'ui.ssh=ssh -F %s' % ssh_config,