diff options
author | Joe Stringer <joe@ovn.org> | 2017-03-08 09:54:07 -0800 |
---|---|---|
committer | Joe Stringer <joe@ovn.org> | 2017-03-09 12:34:54 -0800 |
commit | bddbdd432571d8d37f02f22a5bb6bd0f7f730cb0 (patch) | |
tree | 9cac61e8e0eb8bdc66913fe3ab3802178a4cb24f /utilities | |
parent | 6fc2799e9e08d990e073225143f6254c39c42baa (diff) | |
download | openvswitch-bddbdd432571d8d37f02f22a5bb6bd0f7f730cb0.tar.gz |
checkpatch: Fix running under python3.
Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Russell Bryant <russell@ovn.org>
Diffstat (limited to 'utilities')
-rwxr-xr-x | utilities/checkpatch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py index e7c1a9ba1..dfe6f9c76 100755 --- a/utilities/checkpatch.py +++ b/utilities/checkpatch.py @@ -182,7 +182,7 @@ def ovs_checkpatch_parse(text): re.I | re.M | re.S) skip_line_length_check = False - for line in text.split('\n'): + for line in text.decode().split('\n'): if current_file != previous_file: previous_file = current_file if any([fmt in current_file for fmt in line_length_blacklist]): |