aboutsummaryrefslogtreecommitdiff
path: root/whatmaps/pkg.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-02-24 20:04:03 +0100
committerGuido Günther <agx@sigxcpu.org>2016-02-24 20:04:03 +0100
commit4e704c27a7014d0b1cd660b9f5c233787a798c14 (patch)
tree28fdf35c22d5fbdfe310a427c90e9c31ae86744e /whatmaps/pkg.py
parenta2e8aeb34bc615cc9c0082951721971bb141f20a (diff)
parent11ca10034c04267da8b00d2ef940b0548a13ef42 (diff)
Merge branch 'master' into debian/master
Diffstat (limited to 'whatmaps/pkg.py')
-rw-r--r--whatmaps/pkg.py2
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