update ghmerge to python3
authorNeil Horman <nhorman@openssl.org>
Thu, 18 Jan 2024 13:20:12 +0000 (08:20 -0500)
committerTomas Mraz <tomas@openssl.org>
Thu, 18 Jan 2024 15:37:53 +0000 (16:37 +0100)
using ghmerge currently creates errors for me, in the form of inability
to load various python packages, as fedora moved to python3 several
releases ago

propose updating the use of python to python3 here to support recent
distributions.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/tools/pull/176)

review-tools/ghmerge

index dce2fcc77ee86216cfd3a8acd97dd49d8de98627..32684587cd1e2691ec321cb3ee50d99466781c2d 100755 (executable)
@@ -152,7 +152,7 @@ if ! wget --quiet $PR_URL -O /tmp/gh$$; then
     echo "Error getting $PR_URL"
     exit 1
 fi
-set -- `python -c '
+set -- `python3 -c '
 from __future__ import print_function
 import json, sys;
 input = json.load(sys.stdin)