Skip to content

Commit

Permalink
we can now use utf8 unconditionally
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@8048 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Nov 4, 2014
1 parent 2f385ed commit 4ab6990
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,7 @@ def exec_pkgconfig(*pkgs_options, **ekw):
r, out, err = get_status_output(cmd)
if r!=0:
sys.exit("ERROR: call to pkg-config ('%s') failed (err=%s)" % (" ".join(cmd), err))
if sys.version>='3':
out = out.decode('utf-8')
out = out.decode('utf-8')
for token in out.split():
if token[:2] in ignored_flags:
pass
Expand Down

0 comments on commit 4ab6990

Please sign in to comment.