Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: skip superfluous text -> bytes conversion on clufter's output
Respective outputs are already represented with bytes (as 'bytestring' protocol suggests), and moreover, such bytes cannot be "encoded" in Python 3 otherwise leading to AttributeError (bytes object has no attribute encode) exception. Note that this is only relevant in Python 3 context, which pcs uses by default in python3-charged distros (e.g. Fedora) and which is now supported in clufter (which enabled a discovery of this discrepancy): http://oss.clusterlabs.org/pipermail/users/2017-March/005323.html Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
- Loading branch information