Fixing forall subcommand for Py3

Execution of 'repo forall -p -c' doesn't work with Py3 and ends up
with an error:

Got an error, terminating the pool: TypeError: can only concatenate
str (not "bytes") to str

That's fixed by using the decode() method.

Change-Id: Ice01aaa1822dde8d957b5bf096021dd5a2b7dd51
Reviewed-by: Mike Frysinger <>
Reviewed-by: David Pursehouse <>
Tested-by: Jiri Tyr <>
(cherry picked from commit 83a3227b62c936b346b825b333fc2ca65528ecfd)
diff --git a/subcmds/ b/subcmds/
index 96eac54..131ba67 100644
--- a/subcmds/
+++ b/subcmds/
@@ -366,7 +366,7 @@
     while not s_in.is_done:
       in_ready =
       for s in in_ready:
-        buf =
+        buf =
         if not buf: