diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-04-04 22:12:17 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-04-04 22:12:17 +0100 |
commit | c36e3c622656de28fdb346a89ebbc29214b6cbda (patch) | |
tree | ad70fee3505487b0445e1f3db9f2d7d16102886f /Makefile | |
parent | 65d8fb5d30682dffffab1daf06662dafb9e303f2 (diff) | |
download | sos-c36e3c622656de28fdb346a89ebbc29214b6cbda.tar.gz |
Use six.binary_type to produce a .decode()able string
Python3 strings do not have a .decode() method. When clearing
output for command-not-found case use binary_type("") instead of
the empty string. This gives a bytestring on python3 which does
support the decode() method.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions