lkml.org 
[lkml]   [2019]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/2] docs: Programmatically render MAINTAINERS into ReST
On Tue, Oct 01, 2019 at 11:35:06AM -0600, Jonathan Corbet wrote:
> for line in open(path):
> + if sys.version_info.major == 2:
> + line = unicode(line, 'utf-8')

Ah-ha! Thanks. I've sent v2 now. :)

--
Kees Cook

\
 
 \ /
  Last update: 2019-10-01 20:26    [W:0.050 / U:2.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site