[PATCH] dim: require Python 3

Daniel Vetter daniel at ffwll.ch
Thu Dec 17 12:17:01 UTC 2020


On Wed, Dec 16, 2020 at 12:29:26PM +0200, Jani Nikula wrote:
> On Wed, 16 Dec 2020, Simon Ser <contact at emersion.fr> wrote:
> > 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 at emersion.fr>
> 
> Thanks,
> 
> Reviewed-by: Jani Nikula <jani.nikula at intel.com>

Pushed & thanks for handling the fallout.
-Daniel

> 
> > ---
> >  dim | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/dim b/dim
> > index f4366ea165a2..01bba3129be4 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"
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center
> _______________________________________________
> dim-tools mailing list
> dim-tools at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dim-tools

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dim-tools mailing list