Commits

jwhe...@jwheatle-WS.cisco.com  committed ac76697

Fixed Python 3 incompatibility in pydot.py

stderr.read() returns bytes, which cannot be joined using string.join(). This
has been rectified by converting the byes to strings before adding to the
stderr_output list.

  • Participants
  • Parent commits 7b3ae70

Comments (0)

Files changed (1)

                 data = stderr.read()
                 if not data:
                     break
-                stderr_output.append(data)
+                stderr_output.append(str(data, 'ascii'))
             stderr.close()
                 
             if stderr_output: