[ovs-git] [openvswitch/ovs] 07049d: bugtool: Fix for Python3.

Timothy Redaelli noreply at github.com
Thu Nov 5 13:36:58 UTC 2020

  Branch: refs/heads/branch-2.13
  Home:   https://github.com/openvswitch/ovs
  Commit: 07049d5b6601deaaabd40f75bdcd3f7eb6c0770c
  Author: Timothy Redaelli <tredaelli at redhat.com>
  Date:   2020-11-05 (Thu, 05 Nov 2020)

  Changed paths:
    M utilities/bugtool/ovs-bugtool.in

  Log Message:
  bugtool: Fix for Python3.

Currently ovs-bugtool tool doesn't start on Python 3.
This commit fixes ovs-bugtool to make it works on Python 3.

Replaced StringIO.StringIO with io.BytesIO since the script is
processing binary data.

Reported-at: https://bugzilla.redhat.com/1809241
Reported-by: Flavio Leitner <fbl at sysclose.org>
Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
Co-authored-by: William Tu <u9012063 at gmail.com>
Signed-off-by: William Tu <u9012063 at gmail.com>

More information about the git mailing list