From 4b3e9b8479d58c80231885171864a28946488003 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 28 Jun 2020 15:52:23 +0200 Subject: [PATCH] syncpackge: Fix the new flake8 E741. Closes: #963310 --- debian/changelog | 2 ++ syncpackage | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index b612330..a27742b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,8 @@ ubuntu-dev-tools (0.177) UNRELEASED; urgency=medium [ Mattia Rizzolo ] * ubuntu-build: + Add support for riscv64. + * syncpackge: + + Fix the new flake8 E741. Closes: #963310 [ Bryce Harrington ] * update-maintainer: diff --git a/syncpackage b/syncpackage index 1268e1a..8282bb3 100755 --- a/syncpackage +++ b/syncpackage @@ -76,7 +76,7 @@ def add_fixed_bugs(changes, bugs): '''Add additional Launchpad bugs to the list of fixed bugs in changes file.''' - changes = [l for l in changes.split("\n") if l.strip() != ""] + changes = [line for line in changes.split("\n") if line.strip() != ""] # Remove duplicates bugs = set(str(bug) for bug in bugs)