File 0001-main-script-fix-running-with-python3-need-to-decode.patch of Package firewalld-rpcbind-helper
From 6cbc68c4f68019d999766680c09b3b5922419dca Mon Sep 17 00:00:00 2001 From: Matthias Gerstner <matthias.gerstner@suse.de> Date: Fri, 11 May 2018 13:01:07 +0200 Subject: [PATCH 1/4] main script: fix running with python3 (need to decode) --- firewall-rpc-helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firewall-rpc-helper.py b/firewall-rpc-helper.py index a72f6f5..38b8883 100755 --- a/firewall-rpc-helper.py +++ b/firewall-rpc-helper.py @@ -400,7 +400,7 @@ applicable (currently only firewall-cmd calls)."""), stderr = subprocess.STDOUT ) - output = proc.stdout.read() + output = proc.stdout.read().decode() res = proc.wait() -- 2.16.1