Re: [ovs-dev] [PATCH] checkpatch: Use default encoding from email library.

2017-07-06 Thread Joe Stringer
On 5 July 2017 at 17:26, Ben Pfaff wrote: > On Tue, Jul 04, 2017 at 07:16:46AM -0700, Joe Stringer wrote: >> There are three paths for running the core checkpatch path: From a file, >> from stdin, or reading from git output. Currently, the file version of >> this calls the "email"

Re: [ovs-dev] [PATCH] checkpatch: Use default encoding from email library.

2017-07-05 Thread Ben Pfaff
On Tue, Jul 04, 2017 at 07:16:46AM -0700, Joe Stringer wrote: > There are three paths for running the core checkpatch path: From a file, > from stdin, or reading from git output. Currently, the file version of > this calls the "email" library's decode routine which translates the > stream into a

[ovs-dev] [PATCH] checkpatch: Use default encoding from email library.

2017-07-04 Thread Joe Stringer
There are three paths for running the core checkpatch path: From a file, from stdin, or reading from git output. Currently, the file version of this calls the "email" library's decode routine which translates the stream into a bytes array, which we later call decode() to turn it back into a