From 5287e4784cf54bb7a1bce44d4dfced639e90df35 Mon Sep 17 00:00:00 2001 From: Simon Ser <contact@emersion.fr> Date: Wed, 16 Dec 2020 09:28:41 +0000 Subject: [PATCH] dim: require Python 3 Python 2 has been end-of-life'd, and d79c57846950 ("dim: fix handling of 8-bit non-UTF-8 messages") relies on functions introduced in Python 3.2. Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> --- dim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dim b/dim index f4366ea..01bba31 100755 --- a/dim +++ b/dim @@ -76,7 +76,7 @@ dim=$(basename $0) dim_today=$(date +%Y-%m-%d) dim_timestamp="$(date --utc +%Yy-%mm-%dd-%Hh-%Mm-%Ss) UTC" -dim_python=$(command -v python || command -v python3) +dim_python=$(command -v python3) dim_fdo_cookie="--push-option fdo.pushedWithDim=this-was-pushed-with-dim-and-not-manually" -- GitLab