cubicweb/toolsutils.py
changeset 12311 4d8268ef1fb7
parent 11767 432f87a63057
child 12312 a7c4b13a2d60
--- a/cubicweb/toolsutils.py	Thu May 03 16:47:51 2018 +0200
+++ b/cubicweb/toolsutils.py	Wed Jun 06 11:56:15 2018 +0200
@@ -96,7 +96,7 @@
     """
     import shutil
     pipe = subprocess.Popen(['diff', '-u', appl_file, ref_file], stdout=subprocess.PIPE)
-    diffs = pipe.stdout.read()
+    diffs = pipe.stdout.read().decode('utf-8')
     if diffs:
         if askconfirm:
             print()