On Sun, 2018-02-25 at 01:50 +1100, Daniel Axtens wrote: > Set PYTHONIOENCODING to UTF-8, which allows Python3 to print UTF-8 > directly to the terminal (to a pipe or shell-redirected file) rather > than throwing an error. > > Reviewed-by: Andrew Donnellan <andrew.donnel...@au1.ibm.com> > Signed-off-by: Daniel Axtens <d...@axtens.net>
Fine by me. Reviewed-by: Stephen Finucane <step...@that.guru> > --- > tools/docker/Dockerfile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile > index eb6d35d82528..2154ca7e67bf 100644 > --- a/tools/docker/Dockerfile > +++ b/tools/docker/Dockerfile > @@ -10,6 +10,7 @@ ENV db_pass password > ENV DJANGO_SETTINGS_MODULE patchwork.settings.dev > ENV DEBIAN_FRONTEND noninteractive > ENV PYTHONUNBUFFERED 1 > +ENV PYTHONIOENCODING UTF-8 > > # System > # trusty and findutils is for python3.4 _______________________________________________ Patchwork mailing list Patchwork@lists.ozlabs.org https://lists.ozlabs.org/listinfo/patchwork