#1041 fix utf-8 output in CLI
Merged 5 years ago by mikem. Opened 5 years ago by tkopecek.
tkopecek/koji issue1010  into  master

file modified
+5 -1
@@ -377,7 +377,11 @@ 

                                  sys.stdout.write("\n")

                              sys.stdout.write("==> %s <==\n" % currlog)

                              lastlog = currlog

-                         sys.stdout.write(contents.decode('utf8'))

+                         if six.PY3:

+                             sys.stdout.buffer.write(contents)

+                         else:

+                             sys.stdout.write(contents)

+ 

  

              if opts.follow:

                  for child in session.getTaskChildren(task_id):