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
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