diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-02-24 09:18:59 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-02-24 20:00:48 +0100 |
commit | 7e838a0c18f3ad0f574e3bd7c5c4949701264f01 (patch) | |
tree | 75494e2477ade0ee3085ad3c86b3c94ecfd97e14 /whatmaps/pkg.py | |
parent | 1b59d859f2442dd859fa255a50d3d149c5320213 (diff) |
The usual 2to3 string encoding madness
Diffstat (limited to 'whatmaps/pkg.py')
-rw-r--r-- | whatmaps/pkg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/whatmaps/pkg.py b/whatmaps/pkg.py index ab9088d..4290d0b 100644 --- a/whatmaps/pkg.py +++ b/whatmaps/pkg.py @@ -63,7 +63,7 @@ class Pkg(object): output = list_contents.communicate()[0] if list_contents.returncode: raise PkgError("Failed to list package contents for '%s'" % self.name) - self._contents = output.split('\n') + self._contents = output.decode('utf-8').split('\n') return self._contents @property |