summaryrefslogtreecommitdiff
path: root/gbp/rpm/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/rpm/__init__.py')
-rw-r--r--gbp/rpm/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/rpm/__init__.py b/gbp/rpm/__init__.py
index 62f0c279..0affa457 100644
--- a/gbp/rpm/__init__.py
+++ b/gbp/rpm/__init__.py
@@ -199,7 +199,7 @@ class SpecFile(object):
librpm.spec(filtered.name)
return librpm.spec(filtered.name)
except ValueError as err:
- rpmlog = get_librpm_log()
+ rpmlog = [log.decode() for log in get_librpm_log()]
gbp.log.debug("librpm log:\n %s" %
"\n ".join(rpmlog))
raise GbpError("RPM error while parsing %s: %s (%s)" %