syncpackge: Fix the new flake8 E741. Closes: #963310

This commit is contained in:
Mattia Rizzolo 2020-06-28 15:52:23 +02:00
parent 097eea7d5f
commit 4b3e9b8479
No known key found for this signature in database
GPG Key ID: 0816B9E18C762BAD
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View File

@ -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:

View File

@ -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)