aboutsummaryrefslogtreecommitdiff
path: root/gbp/patch_series.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/patch_series.py')
-rw-r--r--gbp/patch_series.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/patch_series.py b/gbp/patch_series.py
index 15af2884..4ce0327f 100644
--- a/gbp/patch_series.py
+++ b/gbp/patch_series.py
@@ -105,7 +105,7 @@ class Patch(object):
self.info[header] = value.strip()
# Body
try:
- self.long_desc = "".join([l.decode("utf-8", "backslashreplace") for l in body])
+ self.long_desc = "".join([li.decode("utf-8", "backslashreplace") for li in body])
except (IOError, UnicodeDecodeError) as msg:
raise GbpError("Failed to read patch header of '%s': %s" %
(self.path, msg))