fixxref: fix bytestring handling for python 3
commitb9dfd5e2135fb84579c8c5971419b920bedd5bfc
authorErnestas Kulik <ernestask@gnome.org>
Sun, 28 May 2017 18:02:29 +0000 (28 20:02 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Fri, 2 Jun 2017 06:35:27 +0000 (2 08:35 +0200)
tree29bc17695d0010a62096e4c3ac5ac3e70e1bed31
parentb205fe86f7202019065547fec338577d82971702
fixxref: fix bytestring handling for python 3

NamedTemporaryFile() opens the file in binary mode by default, which
doesn’t work, since strings are being written to it. Additionally, the
code tries to perform a regex substitution on subprocess.check_output()
return value, which is not a string.
gtkdoc/fixxref.py