grep-merges: flake8-clean.

Signed-off-by: Steve Langasek <steve.langasek@ubuntu.com>
This commit is contained in:
Steve Langasek 2019-05-07 21:25:50 -07:00
parent eb84867721
commit 7143367610
2 changed files with 11 additions and 3 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
ubuntu-dev-tools (0.168) UNRELEASED; urgency=medium
* grep-merges: flake8-clean.
-- Steve Langasek <steve.langasek@ubuntu.com> Tue, 07 May 2019 21:24:14 -0700
ubuntu-dev-tools (0.167) eoan; urgency=medium
[ Colin Watson ]

View File

@ -68,12 +68,14 @@ def main():
uploader = '(%s)' % merge['uploader']
try:
teams = merge['teams']
except:
except e:
teams = []
pretty_uploader = u'{} {}'.format(author, uploader)
if match is None or match in package or match in author or match in uploader or match in teams:
print '%s\t%s' % (package.encode("utf-8"), pretty_uploader.encode("utf-8"))
if (match is None or match in package or match in author
or match in uploader or match in teams):
print '%s\t%s' % (package.encode("utf-8"),
pretty_uploader.encode("utf-8"))
if __name__ == '__main__':