diff options
author | Simon Feltman <sfeltman@src.gnome.org> | 2014-04-28 23:24:36 -0700 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2015-09-29 23:16:32 -0400 |
commit | ecbf1460ffe0f1f6fa42fe79b27c22969d194cf5 (patch) | |
tree | 8f19ddfa2d10fb1e8eeea679f1541a25f0f0e7d3 /giscanner/shlibs.py | |
parent | 0211bda3da384818c0f99b5a468022c7529fed7e (diff) | |
download | gobject-introspection-ecbf1460ffe0f1f6fa42fe79b27c22969d194cf5.tar.gz |
giscanner: Decode command output for Python 3 compatibility
Decode the output of various subprocess calls assuming ascii
encoding.
https://bugzilla.gnome.org/show_bug.cgi?id=679438
Diffstat (limited to 'giscanner/shlibs.py')
-rw-r--r-- | giscanner/shlibs.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/shlibs.py b/giscanner/shlibs.py index c1f89bed..c93d20cf 100644 --- a/giscanner/shlibs.py +++ b/giscanner/shlibs.py @@ -116,6 +116,7 @@ def _resolve_non_libtool(options, binary, libraries): shlibs = [] for line in proc.stdout: + line = line.decode('ascii') for library, pattern in patterns.items(): m = pattern.search(line) if m: |